aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMarcelo Tosatti <marcelo.tosatti@cyclades.com>2005-07-07 20:56:05 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 21:23:35 -0400
commit37b173a4d03d1681e6c9529bc43d7a3308132db6 (patch)
tree478802dfe5afee12589d4d5533f8312a923c4ec2 /mm
parent79b9ce311e192e9a31fd9f3cf1ee4a4edf9e2650 (diff)
[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:
897 cond_resched(); 897 cond_resched();
898 898
899 if (likely(did_some_progress)) { 899 if (likely(did_some_progress)) {
900 /*
901 * Go through the zonelist yet one more time, keep
902 * very high watermark here, this is only to catch
903 * a parallel oom killing, we must fail if we're still
904 * under heavy pressure.
905 */
906 for (i = 0; (z = zones[i]) != NULL; i++) { 900 for (i = 0; (z = zones[i]) != NULL; i++) {
907 if (!zone_watermark_ok(z, order, z->pages_min, 901 if (!zone_watermark_ok(z, order, z->pages_min,
908 classzone_idx, can_try_harder, 902 classzone_idx, can_try_harder,