]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1a074c03a3afd46f6a221e1f993224457b8c29a9
tree3c6b534760dee49a77157eb6512aeb329e19bc2c
parent7d4c14455f9172ef8a3be3a65402755a521bb65b
[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