linux/mm
Christoph Lameter 2a16e3f4b0 [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>
2006-02-01 08:53:16 -08:00
..
bootmem.c
fadvise.c
filemap_xip.c
filemap.c [PATCH] mm: migration page refcounting fix 2006-01-18 19:20:17 -08:00
filemap.h
fremap.c
highmem.c
hugetlb.c
internal.h
Kconfig
madvise.c
Makefile
memory_hotplug.c
memory.c
mempolicy.c [PATCH] mm: optimize numa policy handling in slab allocator 2006-01-18 19:20:18 -08:00
mempool.c
mincore.c
mlock.c
mmap.c
mprotect.c
mremap.c
msync.c
nommu.c
oom_kill.c
page_alloc.c [PATCH] __cpuinit functions wrongly marked __meminit 2006-02-01 08:53:09 -08:00
page_io.c
page-writeback.c
pdflush.c
prio_tree.c
readahead.c
rmap.c [PATCH] mm: migration page refcounting fix 2006-01-18 19:20:17 -08:00
shmem.c
slab.c [PATCH] Use 32 bit division in slab_put_obj() 2006-02-01 08:53:15 -08:00
slob.c
sparse.c
swap_state.c
swap.c [PATCH] mm: migration page refcounting fix 2006-01-18 19:20:17 -08:00
swapfile.c [PATCH] sem2mutex: mm/slab.c 2006-01-18 19:20:18 -08:00
thrash.c
tiny-shmem.c
truncate.c
util.c
vmalloc.c
vmscan.c [PATCH] Reclaim slab during zone reclaim 2006-02-01 08:53:16 -08:00