https://github.com/torvalds/linux
Revision 0d673a5a4775d3dc565b6668ed75fd2db2ede624 authored by Nick Piggin on 27 August 2006, 08:23:54 UTC, committed by Linus Torvalds on 27 August 2006, 18:01:32 UTC
cpuset_excl_nodes_overlap always returns 0 if current is exiting.  This caused
customer's systems to panic in the OOM killer when processes were having
trouble getting memory for the final put_user in mm_release.  Even though
there were lots of processes to kill.

Change to returning 1 in this case.  This achieves parity with !CONFIG_CPUSETS
case, and was observed to fix the problem.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 36920e0
History
Tip revision: 0d673a5a4775d3dc565b6668ed75fd2db2ede624 authored by Nick Piggin on 27 August 2006, 08:23:54 UTC
[PATCH] cpuset: oom panic fix
Tip revision: 0d673a5
File Mode Size
Kconfig -rw-r--r-- 4.9 KB
Makefile -rw-r--r-- 851 bytes
bootmem.c -rw-r--r-- 11.9 KB
fadvise.c -rw-r--r-- 2.6 KB
filemap.c -rw-r--r-- 63.3 KB
filemap.h -rw-r--r-- 2.8 KB
filemap_xip.c -rw-r--r-- 10.3 KB
fremap.c -rw-r--r-- 6.1 KB
highmem.c -rw-r--r-- 13.7 KB
hugetlb.c -rw-r--r-- 18.3 KB
internal.h -rw-r--r-- 1.0 KB
madvise.c -rw-r--r-- 8.6 KB
memory.c -rw-r--r-- 66.7 KB
memory_hotplug.c -rw-r--r-- 7.3 KB
mempolicy.c -rw-r--r-- 46.6 KB
mempool.c -rw-r--r-- 8.9 KB
migrate.c -rw-r--r-- 21.2 KB
mincore.c -rw-r--r-- 4.4 KB
mlock.c -rw-r--r-- 5.3 KB
mmap.c -rw-r--r-- 53.9 KB
mmzone.c -rw-r--r-- 925 bytes
mprotect.c -rw-r--r-- 7.2 KB
mremap.c -rw-r--r-- 10.7 KB
msync.c -rw-r--r-- 5.6 KB
nommu.c -rw-r--r-- 28.0 KB
oom_kill.c -rw-r--r-- 9.8 KB
page-writeback.c -rw-r--r-- 22.9 KB
page_alloc.c -rw-r--r-- 62.6 KB
page_io.c -rw-r--r-- 3.6 KB
pdflush.c -rw-r--r-- 6.3 KB
prio_tree.c -rw-r--r-- 6.3 KB
readahead.c -rw-r--r-- 16.9 KB
rmap.c -rw-r--r-- 23.2 KB
shmem.c -rw-r--r-- 58.4 KB
slab.c -rw-r--r-- 107.6 KB
slob.c -rw-r--r-- 8.8 KB
sparse.c -rw-r--r-- 7.2 KB
swap.c -rw-r--r-- 12.4 KB
swap_state.c -rw-r--r-- 9.3 KB
swapfile.c -rw-r--r-- 43.0 KB
thrash.c -rw-r--r-- 2.7 KB
tiny-shmem.c -rw-r--r-- 3.2 KB
truncate.c -rw-r--r-- 9.7 KB
util.c -rw-r--r-- 1.4 KB
vmalloc.c -rw-r--r-- 17.0 KB
vmscan.c -rw-r--r-- 43.6 KB
vmstat.c -rw-r--r-- 13.2 KB

back to top