[PATCH] zone reclaim with slab: avoid unecessary off node allocations
authorChristoph Lameter <clameter@sgi.com>
Tue, 26 Sep 2006 06:31:53 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:52 +0000 (08:48 -0700)
commit83e33a4711760469f5c3861b8ffea4947656d4eb
tree3c6b534760dee49a77157eb6512aeb329e19bc2c
parent0ff38490c836dc379ff7ec45b10a15a662f4e5f6
[PATCH] zone reclaim with slab: avoid unecessary off node allocations

Minor performance fix.

If we reclaimed enough slab pages from a zone then we can avoid going off
node with the current allocation.  Take care of updating nr_reclaimed when
reclaiming from the slab.

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