summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMarcelo Tosatti <marcelo.tosatti@cyclades.com>2005-07-08 02:56:05 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-08 03:23:35 +0200
commit37b173a4d03d1681e6c9529bc43d7a3308132db6 (patch)
tree478802dfe5afee12589d4d5533f8312a923c4ec2 /mm
parent[PATCH] print order information when OOM killing (diff)
downloadlinux-37b173a4d03d1681e6c9529bc43d7a3308132db6.tar.xz
linux-37b173a4d03d1681e6c9529bc43d7a3308132db6.zip
[PATCH] remove completly bogus comment inside __alloc_pages() try_to_free_pages handling
Remove completly bogus comment from did_some_progress != 0 handling (that same comment is a few lines below on did_some_progress = 0 case, where it belongs). Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 7fbd3ea8765c..1d6ba6a4b594 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -897,12 +897,6 @@ rebalance:
cond_resched();
if (likely(did_some_progress)) {
- /*
- * Go through the zonelist yet one more time, keep
- * very high watermark here, this is only to catch
- * a parallel oom killing, we must fail if we're still
- * under heavy pressure.
- */
for (i = 0; (z = zones[i]) != NULL; i++) {
if (!zone_watermark_ok(z, order, z->pages_min,
classzone_idx, can_try_harder,