diff options
author | Christoph Lameter <clameter@engr.sgi.com> | 2006-02-01 06:05:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 11:53:16 -0500 |
commit | a92f71263af9d0ab77c260f709c0c079656221aa (patch) | |
tree | 93aa7bf968ba108cc893b0dcc4de36fbf3b733bf /Documentation/cris | |
parent | aa3f18b3391ac305baa01faead3fdf9147daf54b (diff) |
[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>
Diffstat (limited to 'Documentation/cris')
0 files changed, 0 insertions, 0 deletions