]> Git Repo - linux.git/commit - mm/slab.c
[PATCH] slab: remove cachep->spinlock
authorRavikiran G Thirumalai <[email protected]>
Wed, 22 Mar 2006 08:08:12 +0000 (00:08 -0800)
committerLinus Torvalds <[email protected]>
Wed, 22 Mar 2006 15:53:58 +0000 (07:53 -0800)
commitb5d8ca7c50826c0b456b4a646875dc573adfde2b
treedc04800243ac331c862c1cdbeebd82bf369602d1
parenta737b3e2fcf96f576fa3e2e382236d9ee94f383f
[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 <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Manfred Spraul <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/slab.c
This page took 0.055895 seconds and 4 git commands to generate.