summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2006-12-30 03:47:20 +0300
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-30 21:55:55 +0300
commit96ac5913f4e45c6a1b98350f2c0a8bb3abe2646a (patch)
treeeb7f85431598ebf035e8b190d253e1b160694596 /usr
parente4e6bdbb426d1ecd9e4587f22115f8d0d426d21f (diff)
downloadlinux-96ac5913f4e45c6a1b98350f2c0a8bb3abe2646a.tar.xz
[PATCH] fix oom killer kills current every time if there is memory-less-node take2
constrained_alloc(), which is called to detect where oom is from, checks passed zone_list(). If zone_list doesn't include all nodes, it thinks oom is from mempolicy. But there is memory-less-node. memory-less-node's zones are never included in zonelist[]. contstrained_alloc() should get memory_less_node into count. Otherwise, it always thinks 'oom is from mempolicy'. This means that current process dies at any time. This patch fix it. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Paul Jackson <pj@sgi.com> Cc: Christoph Lameter <clameter@engr.sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions