Searched hist:a92f71263af9d0ab77c260f709c0c079656221aa (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | vmscan.c | diff a92f71263af9d0ab77c260f709c0c079656221aa Wed Feb 01 05:05:32 CST 2006 Christoph Lameter <clameter@engr.sgi.com> [PATCH] zone_reclaim: partial scans instead of full scan
Instead of scanning all the pages in a zone, imitate real swap and scan only a portion of the pages and gradually scan more if we do not free up enough pages. This avoids a zone suddenly loosing all unused pagecache pages (we may after all access some of these again so they deserve another chance) but it still frees up large chunks of memory if a zone only contains unused pagecache pages.
Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|