CRED: Holding a spinlock does not imply the holding of RCU read lock
On Mon, 26 Apr 2010, David Howells wrote: From: Serge E. Hallyn <serue(a)us.ibm.com> Change the credentials documentation to make it clear that the RCU read lock must be explicitly held when accessing credentials pointers in some other task than current. Holding a spinlock does not implicitly hold the ... 26 Apr 2010 19:29
[PATCH] staging/otus: Add null check and fix coding style issue
From: Peter Huewe <peterhuewe(a)gmx.de> This patch removes mixing of declarations and code and adds a null-test after a kmalloc. Patch against linux-next as of 20100427 Signed-off-by: Peter Huewe <peterhuewe(a)gmx.de> --- drivers/staging/otus/ioctl.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletio... 26 Apr 2010 19:29
[PATCH 1/2] mm,migration: During fork(), wait for migration to end if migration PTE is encountered
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu(a)jp.fujitsu.com> From: KAMEZAWA Hiroyuki <kamezawa.hiroyu(a)jp.fujitsu.com> At page migration, we replace pte with migration_entry, which has similar format as swap_entry and replace it with real pfn at the end of migration. But there is a race with fork()'s copy_page_range... 26 Apr 2010 19:29
[PATCH 0/2] Fix migration races in rmap_walk()
After digging around a lot, I believe the following two patches are the best way to close the race that allows a migration PTE to be left behind triggering a BUG check in migration_entry_to_page(). Patch one alters has fork() wait for migration to complete. Patch two has vma_adjust() acquire the anon_vma lock it ... 26 Apr 2010 19:29
[PATCH 2/2] mm,migration: Prevent rmap_walk_[anon|ksm] seeing the wrong VMA information
vma_adjust() is updating anon VMA information without any locks taken. In contrast, file-backed mappings use the i_mmap_lock and this lack of locking can result in races with page migration. During rmap_walk(), vma_address() can return -EFAULT for an address that will soon be valid. This leaves a dangling migration... 26 Apr 2010 19:29
[PATCH 4/6] staging: push down BKL into ioctl functions
Signed-off-by: Arnd Bergmann <arnd(a)arndb.de> --- drivers/staging/crystalhd/crystalhd_lnx.c | 13 +++++++++---- drivers/staging/dt3155/dt3155_drv.c | 24 ++++++++++++++++++------ drivers/staging/poch/poch.c | 17 +++++++++++++++-- drivers/staging/vme/devices/vme_user.c | 18 +++++++++... 26 Apr 2010 19:29
[PATCH 0/6] Push down BKL into device drivers
This is half the work of getting rid of the BKL in the ioctl file operation, the rest in arch/ and fs/ still needs to be done, maybe two more hours of work (for someone else than me ;-)). Pushdown is straightforward. In many cases, it's rather obvious that the BKL is not needed at all, but let's not mix the rem... 26 Apr 2010 19:29
[PATCH -v5 1/3] x86: Reserve [0xa0000, 0x100000] in e820 map
Update e820 at first, and later put them resource tree. Reserved that early, will not be allocated to unassigned PCI BAR -v5: same as -v3 Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> Cc: Guenter Roeck <guenter.roeck(a)ericsson.com> Cc: Andy Isaacson <adi(a)hexapodia.org> Tested-by: Andy Isaacson <adi(a)hexa... 26 Apr 2010 18:21
mm,migration: Allow the migration of PageSwapCache pages
On 04/24/2010 07:59 AM, Mel Gorman wrote: On Sat, Apr 24, 2010 at 01:13:40PM +0200, Andrea Arcangeli wrote: Also keep in mind expand_downwards which also adjusts vm_start/vm_pgoff the same way (and without mmap_sem write mode). Will keep it in mind. It's taking the anon_vma lock but once again, th... 26 Apr 2010 18:21
serial: TTY: new ldiscs for staging
On Thu, 8 Apr 2010 13:16:52 -0500 pavan_savoy(a)ti.com wrote: From: Pavan Savoy <pavan_savoy(a)ti.com> Push the max ldiscs by a few number to allow ldiscs to exist in the staging directory Signed-off-by: Pavan Savoy <pavan_savoy(a)ti.com> --- include/linux/tty.h | 2 +- 1 files changed, 1... 26 Apr 2010 18:21