]> err.no Git - linux-2.6/commit
[PATCH] oom: cpuset hint
authorNick Piggin <npiggin@suse.de>
Tue, 26 Sep 2006 06:31:29 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:48 +0000 (08:48 -0700)
commit7887a3da753e1ba8244556cc9a2b38c815bfe256
treef3563927615c6b9c260f7ca84567c7bca2dac91f
parent4ff1ffb4870b007b86f21e5f27eeb11498c4c077
[PATCH] oom: cpuset hint

cpuset_excl_nodes_overlap does not always indicate that killing a task will
not free any memory we for us.  For example, we may be asking for an
allocation from _anywhere_ in the machine, or the task in question may be
pinning memory that is outside its cpuset.  Fix this by just causing
cpuset_excl_nodes_overlap to reduce the badness rather than disallow it.

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>
mm/oom_kill.c