]> err.no Git - linux-2.6/commit
[PATCH] zone reclaim: do not check references to a page during zone reclaim
authorChristoph Lameter <clameter@engr.sgi.com>
Sun, 12 Feb 2006 01:55:53 +0000 (17:55 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 12 Feb 2006 05:41:11 +0000 (21:41 -0800)
commit80e4342601abfafacb5f20571e40b56d73d10819
treec03c988860aa8b6a1cc24ba8adff3778c1705928
parent643a654540579b0dcc7a206a4a7475276a41aff0
[PATCH] zone reclaim: do not check references to a page during zone reclaim

shrink_list() and refill_inactive() check all ptes pointing to a page for
reference bits in order to decide if the page should be put on the active
list.  This is not necessary for zone_reclaim since we are only interested
in removing unmapped pages.  Skip the checks in both functions.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/vmscan.c