]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit408d85441cd5a9bd6bc851d677a10c605ed8db5f
tree547ba9fbd4000585f14e9fcdd3cf539cde58a25a
parent6ddab3b9ebebc88bfdd8107c64f12d7e4480c559
[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