]> git.baikalelectronics.ru Git - kernel.git/commit
mm: fix handling of panic_on_oom when cpusets are in use
authorYasunori Goto <y-goto@jp.fujitsu.com>
Sun, 6 May 2007 21:49:59 +0000 (14:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:12:55 +0000 (12:12 -0700)
commitf2e4000a917fc703cd0885f8542f5505f57c2e30
tree6f9c7399703ad34ab35f01a55c77a1d34a5c6dc1
parentd3a3c072a8ba44d8487b67a6f4a01096001fbd10
mm: fix handling of panic_on_oom when cpusets are in use

The current panic_on_oom may not work if there is a process using
cpusets/mempolicy, because other nodes' memory may remain.  But some people
want failover by panic ASAP even if they are used.  This patch makes new
setting for its request.

This is tested on my ia64 box which has 3 nodes.

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Paul Jackson <pj@sgi.com>
Cc: Ethan Solomita <solo@google.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/sysctl/vm.txt
mm/oom_kill.c