]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Reclaim slab during zone reclaim
authorChristoph Lameter <clameter@engr.sgi.com>
Wed, 1 Feb 2006 11:05:35 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:16 +0000 (08:53 -0800)
commit2a16e3f4b0c408b9e50297d2ec27e295d490267a
tree71569cfdf06fb83497e88e4e6543fbe624488aa3
parent1b2ffb7896ad46067f5b9ebf7de1891d74a4cdef
[PATCH] Reclaim slab during zone reclaim

If large amounts of zone memory are used by empty slabs then zone_reclaim
becomes uneffective.  This patch shakes the slab a bit.

The problem with this patch is that the slab reclaim is not containable to a
zone.  Thus slab reclaim may affect the whole system and be extremely slow.
This also means that we cannot determine how many pages were freed in this
zone.  Thus we need to go off node for at least one allocation.

The functionality is disabled by default.

We could modify the shrinkers to take a zone parameter but that would be quite
invasive.  Better ideas are welcome.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/sysctl/vm.txt
mm/vmscan.c