]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] zone_reclaim: additional comments and cleanup
authorChristoph Lameter <clameter@engr.sgi.com>
Wed, 22 Mar 2006 08:08:22 +0000 (00:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:00 +0000 (07:54 -0800)
commit7fb2d46d396b2491818f8e43b01049b3234e6c07
treed5826a4d1c3b1853be20c6049311eb52f1a98360
parent1742f19fa920cdd6905f0db5898524dde22ab2a4
[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>
mm/vmscan.c