]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] vmscan: fix zone_reclaim
authorChristoph Lameter <clameter@engr.sgi.com>
Fri, 24 Feb 2006 21:04:22 +0000 (13:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Feb 2006 22:31:39 +0000 (14:31 -0800)
commitd4f7796e9b387e471ab0e8ed4e0c2bd616b3c193
treee68b20c1952e3d1bfc6bb51c1b38cd6323e2c771
parentc04030e16dbea2f7581f82cc6688695927f6ac5b
[PATCH] vmscan: fix zone_reclaim

- 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