You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Paul Jackson
505970b96e
[PATCH] cpuset oom lock fix
...
The problem, reported in:
http://bugzilla.kernel.org/show_bug.cgi?id=5859
and by various other email messages and lkml posts is that the cpuset hook
in the oom (out of memory) code can try to take a cpuset semaphore while
holding the tasklist_lock (a spinlock).
One must not sleep while holding a spinlock.
The fix seems easy enough - move the cpuset semaphore region outside the
tasklist_lock region.
This required a few lines of mechanism to implement. The oom code where
the locking needs to be changed does not have access to the cpuset locks,
which are internal to kernel/cpuset.c only. So I provided a couple more
cpuset interface routines, available to the rest of the kernel, which
simple take and drop the lock needed here (cpusets callback_sem).
Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago
..
Kconfig
[PATCH] Swap Migration V5: Add CONFIG_MIGRATION for page migration support
19 years ago
Makefile
[PATCH] slob: introduce the SLOB allocator
19 years ago
bootmem.c
[PATCH] FRV: Clean up bootmem allocator's page freeing algorithm
19 years ago
fadvise.c
[PATCH] fadvise: return ESPIPE on FIFO/pipe
19 years ago
filemap.c
[PATCH] move capable() to capability.h
19 years ago
filemap.h
[PATCH] xip: reduce code duplication
20 years ago
filemap_xip.c
[PATCH] replace inode_update_time with file_update_time
19 years ago
fremap.c
VM: add common helper function to create the page tables
19 years ago
highmem.c
[PATCH] gfp_t: the rest
20 years ago
hugetlb.c
[PATCH] mm: make hugepages obey cpusets.
19 years ago
internal.h
[PATCH] FRV: Clean up bootmem allocator's page freeing algorithm
19 years ago
madvise.c
[PATCH] madvise(MADV_REMOVE): remove pages from tmpfs shm backing store
19 years ago
memory.c
[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem
19 years ago
memory_hotplug.c
[PATCH] memhotplug: __add_section remove unused pgdat definition
19 years ago
mempolicy.c
[PATCH] Add tmpfs options for memory placement policies
19 years ago
mempool.c
[PATCH] gfp_t: mm/* (easy parts)
20 years ago
mincore.c
[PATCH] freepgt: sys_mincore ignore FIRST_USER_PGD_NR
20 years ago
mlock.c
[PATCH] move capable() to capability.h
19 years ago
mmap.c
[PATCH] move capable() to capability.h
19 years ago
mprotect.c
[PATCH] unpaged: private write VM_RESERVED
19 years ago
mremap.c
[PATCH] move capable() to capability.h
19 years ago
msync.c
[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem
19 years ago
nommu.c
[PATCH] NOMMU: Make SYSV IPC SHM use ramfs facilities on NOMMU
19 years ago
oom_kill.c
[PATCH] cpuset oom lock fix
19 years ago
page-writeback.c
identify multipage ->writepages() calls
19 years ago
page_alloc.c
[PATCH] memmap_init_zone(): remove uneccesary page++
19 years ago
page_io.c
[PATCH] mm: split page table lock
20 years ago
pdflush.c
[PATCH] Swap Migration V5: PF_SWAPWRITE to allow writing to swap
19 years ago
prio_tree.c
Linux-2.6.12-rc2
20 years ago
readahead.c
[PATCH] add AOP_TRUNCATED_PAGE, prepend AOP_ to WRITEPAGE_ACTIVATE
19 years ago
rmap.c
[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem
19 years ago
shmem.c
[PATCH] Add tmpfs options for memory placement policies
19 years ago
slab.c
[PATCH] fix/simplify mutex debugging code
19 years ago
slob.c
[PATCH] slob: introduce the SLOB allocator
19 years ago
sparse.c
[PATCH] Change maxaligned_in_smp alignemnt macros to internodealigned_in_smp macros
19 years ago
swap.c
[XFS] Export pagevec_lookup for use on the XFS page writeout path,
19 years ago
swap_state.c
[PATCH] SwapMig: add_to_swap() avoid atomic allocations
19 years ago
swapfile.c
[PATCH] move capable() to capability.h
19 years ago
thrash.c
[PATCH] temporarily disable swap token on memory pressure
19 years ago
tiny-shmem.c
[PATCH] do_truncate() call fix in tiny-shmem.c
19 years ago
truncate.c
[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem
19 years ago
util.c
[PATCH] slob: introduce mm/util.c for shared functions
19 years ago
vmalloc.c
[PATCH] kernel-doc: fix warnings in vmalloc.c
20 years ago
vmscan.c
[PATCH] SwapMig: Switch error handling in migrate_pages to use -Exx
19 years ago