]> git.hungrycats.org Git - linux/commit
[PATCH] vmscan: use zone_pressure for page unmapping
authorAndrew Morton <akpm@osdl.org>
Fri, 1 Aug 2003 03:08:53 +0000 (20:08 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 1 Aug 2003 03:08:53 +0000 (20:08 -0700)
commit14d927a3f1d043b00bc7bf31e1f04778c3ac093b
treef6a2f92a34a7ce18e1fbed6f703007d76317a55a
parentecbeb4b2815fc120643fe380e01fea2e6f2bbc47
[PATCH] vmscan: use zone_pressure for page unmapping

From: Nikita Danilov <Nikita@Namesys.COM>

Use zone->pressure (rathar than scanning priority) to determine when to
start reclaiming mapped pages in refill_inactive_zone().  When using
priority every call to try_to_free_pages() starts with scanning parts of
active list and skipping mapped pages (because reclaim_mapped evaluates to
0 on low priorities) no matter how high memory pressure is.
mm/vmscan.c