]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] cpuset memory spread slab cache hooks
authorPaul Jackson <pj@sgi.com>
Fri, 24 Mar 2006 11:16:09 +0000 (03:16 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:23 +0000 (07:33 -0800)
commit46559216d5d1654e37aeda4b8041f10f2a81e25d
tree3fcb06af54faf92fa5d9d82d5659762d2b742e1c
parent82db52ed9b98ccedc30f8c61b6242f5cf2249d19
[PATCH] cpuset memory spread slab cache hooks

Change the kmem_cache_create calls for certain slab caches to support cpuset
memory spreading.

See the previous patches, cpuset_mem_spread, for an explanation of cpuset
memory spreading, and cpuset_mem_spread_slab_cache for the slab cache support
for memory spreading.

The slab caches marked for now are: dentry_cache, inode_cache, some xfs slab
caches, and buffer_head.  This list may change over time.  In particular,
other file system types that are used extensively on large NUMA systems may
want to allow for spreading their directory and inode slab cache entries.

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/buffer.c
fs/dcache.c
fs/inode.c
fs/xfs/linux-2.6/kmem.h