]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] oom: use unreclaimable info
authorNick Piggin <npiggin@suse.de>
Tue, 26 Sep 2006 06:31:27 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:48 +0000 (08:48 -0700)
commit6eedf8876c2bfc2ca77adabb26bad3bea70556dd
tree547ba9fbd4000585f14e9fcdd3cf539cde58a25a
parent64d58b5b2ff3d94bc847708e71618696ab4f1553
[PATCH] oom: use unreclaimable info

__alloc_pages currently starts shooting if page reclaim has failed to free up
swap_cluster_max pages in one run through the priorities.  This is not always
a good indicator on its own, so make use of the all_unreclaimable logic as
well: don't consider going OOM until all zones we're interested in are
unreclaimable.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/vmscan.c