From 77ef26b39eeabd38db64ae4ffb71b8a9ac0caee0 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 9 Nov 2012 14:04:05 +1100 Subject: [PATCH] mmvmscan-only-evict-file-pages-when-we-have-plenty-fix adjust comment layout Cc: Rik van Riel Cc: Mel Gorman Cc: Johannes Weiner Signed-off-by: Andrew Morton --- mm/vmscan.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index d6dd126085f8..6b0413eb6955 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1679,9 +1679,11 @@ static void get_scan_count(struct lruvec *lruvec, struct scan_control *sc, if (global_reclaim(sc)) { free = zone_page_state(zone, NR_FREE_PAGES); - /* If we have very few page cache pages, - force-scan anon pages. */ if (unlikely(file + free <= high_wmark_pages(zone))) { + /* + * If we have very few page cache pages, force-scan + * anon pages. + */ fraction[0] = 1; fraction[1] = 0; denominator = 1; -- 2.39.5