[PATCH] do_try_to_free_page: update comments related to vmscanfunctions

From: Fernando Luis Vázquez Cao
Date: Mon Jul 28 2008 - 07:59:57 EST


Signed-off-by: Fernando Luis Vazquez Cao <fernando@xxxxxxxxxxxxx>
---

diff -urNp linux-2.6.26/mm/vmscan.c linux-2.6.26-fixes/mm/vmscan.c
--- linux-2.6.26/mm/vmscan.c 2008-07-28 20:50:47.000000000 +0900
+++ linux-2.6.26-fixes/mm/vmscan.c 2008-07-28 20:56:23.000000000 +0900
@@ -1371,7 +1371,7 @@ static unsigned long do_try_to_free_page
if (sc->nr_scanned && priority < DEF_PRIORITY - 2)
congestion_wait(WRITE, HZ/10);
}
- /* top priority shrink_caches still had more to do? don't OOM, then */
+ /* top priority shrink_zones still had more to do? don't OOM, then */
if (!sc->all_unreclaimable && scan_global_lru(sc))
ret = nr_reclaimed;
out:


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/