kernel-ark/fs/ocfs2
Christoph Lameter ac2b898ca6 [PATCH] slab: Remove SLAB_NO_REAP option
SLAB_NO_REAP is documented as an option that will cause this slab not to be
reaped under memory pressure.  However, that is not what happens.  The only
thing that SLAB_NO_REAP controls at the moment is the reclaim of the unused
slab elements that were allocated in batch in cache_reap().  Cache_reap()
is run every few seconds independently of memory pressure.

Could we remove the whole thing?  Its only used by three slabs anyways and
I cannot find a reason for having this option.

There is an additional problem with SLAB_NO_REAP.  If set then the recovery
of objects from alien caches is switched off.  Objects not freed on the
same node where they were initially allocated will only be reused if a
certain amount of objects accumulates from one alien node (not very likely)
or if the cache is explicitly shrunk.  (Strangely __cache_shrink does not
check for SLAB_NO_REAP)

Getting rid of SLAB_NO_REAP fixes the problems with alien cache freeing.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: Mark Fasheh <mark.fasheh@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-22 07:53:59 -08:00
..
cluster [PATCH] ocfs2: added source addr to bind() in o2net_start_connect() 2006-03-01 12:17:04 -08:00
dlm [PATCH] ocfs2: use hlists for lockres hash 2006-03-01 12:18:16 -08:00
alloc.c
alloc.h
aops.c
aops.h
buffer_head_io.c [OCFS2] Make ip_io_sem a mutex 2006-02-03 13:47:19 -08:00
buffer_head_io.h
dcache.c
dcache.h
dir.c
dir.h
dlmglue.c
dlmglue.h
endian.h
export.c
export.h
extent_map.c ocfs2: Respond to on-disk corruption in the extent map code. 2006-03-01 11:44:50 -08:00
extent_map.h
file.c [PATCH] ocfs2: remove unused code 2006-03-01 11:18:22 -08:00
file.h
heartbeat.c [PATCH] ocfs2: fix orphan recovery deadlock 2006-03-01 11:32:41 -08:00
heartbeat.h
inode.c [PATCH] ocfs2: fix orphan recovery deadlock 2006-03-01 11:32:41 -08:00
inode.h [OCFS2] Make ip_io_sem a mutex 2006-02-03 13:47:19 -08:00
journal.c [PATCH] ocfs2: fix orphan recovery deadlock 2006-03-01 11:32:41 -08:00
journal.h [PATCH] ocfs2: only checkpoint journal when asked to 2006-02-16 12:04:10 -08:00
localalloc.c
localalloc.h
Makefile
mmap.c
mmap.h
namei.c
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h [PATCH] ocfs2: remove pointless max journal size limit 2006-03-01 11:16:58 -08:00
ocfs2_lockid.h
ocfs2.h [PATCH] ocfs2: fix orphan recovery deadlock 2006-03-01 11:32:41 -08:00
slot_map.c
slot_map.h
suballoc.c
suballoc.h
super.c [PATCH] slab: Remove SLAB_NO_REAP option 2006-03-22 07:53:59 -08:00
super.h
symlink.c
symlink.h
sysfile.c [PATCH] BUG_ON() Conversion in fs/ocfs2/ 2006-02-03 13:54:22 -08:00
sysfile.h
uptodate.c [OCFS2] Make ip_io_sem a mutex 2006-02-03 13:47:19 -08:00
uptodate.h
ver.c
ver.h
vote.c
vote.h