do_try_to_free_page: update comments related to vmscan functions
Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> Cc: Hugh Dickins <hugh@veritas.com> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Cc: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7d03431cf9
commit
87547ee95d
|
@ -1408,7 +1408,7 @@ static unsigned long do_try_to_free_pages(struct zonelist *zonelist,
|
||||||
if (sc->nr_scanned && priority < DEF_PRIORITY - 2)
|
if (sc->nr_scanned && priority < DEF_PRIORITY - 2)
|
||||||
congestion_wait(WRITE, HZ/10);
|
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))
|
if (!sc->all_unreclaimable && scan_global_lru(sc))
|
||||||
ret = nr_reclaimed;
|
ret = nr_reclaimed;
|
||||||
out:
|
out:
|
||||||
|
|
Loading…
Reference in New Issue