linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] remove completly bogus comment inside __alloc_pages() try_to_free_pages handling
@ 2005-07-03 21:00 Marcelo Tosatti
  0 siblings, 0 replies; only message in thread
From: Marcelo Tosatti @ 2005-07-03 21:00 UTC (permalink / raw)
  To: akpm, Nick Piggin, linux-mm

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).

--- linux-2.6.11/mm/page_alloc.c.orig	2005-07-03 11:55:53.000000000 -0300
+++ linux-2.6.11/mm/page_alloc.c	2005-07-03 11:56:24.000000000 -0300
@@ -786,12 +786,6 @@
 	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,
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-03 21:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-03 21:00 [PATCH] remove completly bogus comment inside __alloc_pages() try_to_free_pages handling Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox