summaryrefslogtreecommitdiff
path: root/mm/mempool.c
diff options
context:
space:
mode:
authorRavikiran G Thirumalai <kiran@scalex86.org>2006-03-22 00:08:12 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-22 07:53:58 -0800
commitb5d8ca7c50826c0b456b4a646875dc573adfde2b (patch)
treedc04800243ac331c862c1cdbeebd82bf369602d1 /mm/mempool.c
parenta737b3e2fcf96f576fa3e2e382236d9ee94f383f (diff)
downloadlinux-3.10-b5d8ca7c50826c0b456b4a646875dc573adfde2b.tar.gz
linux-3.10-b5d8ca7c50826c0b456b4a646875dc573adfde2b.tar.bz2
linux-3.10-b5d8ca7c50826c0b456b4a646875dc573adfde2b.zip
[PATCH] slab: remove cachep->spinlock
Remove cachep->spinlock. Locking has moved to the kmem_list3 and most of the structures protected earlier by cachep->spinlock is now protected by the l3->list_lock. slab cache tunables like batchcount are accessed always with the cache_chain_mutex held. Patch tested on SMP and NUMA kernels with dbench processes running, constant onlining/offlining, and constant cache tuning, all at the same time. Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org> Cc: Christoph Lameter <christoph@lameter.com> Cc: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Manfred Spraul <manfred@colorfullife.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions