diff options
author | Christoph Lameter <clameter@engr.sgi.com> | 2006-03-22 00:08:22 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-22 07:54:00 -0800 |
commit | 7fb2d46d396b2491818f8e43b01049b3234e6c07 (patch) | |
tree | d5826a4d1c3b1853be20c6049311eb52f1a98360 /mm/util.c | |
parent | 1742f19fa920cdd6905f0db5898524dde22ab2a4 (diff) | |
download | op-kernel-dev-7fb2d46d396b2491818f8e43b01049b3234e6c07.zip op-kernel-dev-7fb2d46d396b2491818f8e43b01049b3234e6c07.tar.gz |
[PATCH] zone_reclaim: additional comments and cleanup
Add some comments to explain how zone reclaim works. And it fixes the
following issues:
- PF_SWAPWRITE needs to be set for RECLAIM_SWAP to be able to write
out pages to swap. Currently RECLAIM_SWAP may not do that.
- remove setting nr_reclaimed pages after slab reclaim since the slab shrinking
code does not use that and the nr_reclaimed pages is just right for the
intended follow up action.
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 'mm/util.c')
0 files changed, 0 insertions, 0 deletions