diff options
author | Christoph Lameter <[email protected]> | 2012-07-06 15:25:12 -0500 |
---|---|---|
committer | Pekka Enberg <[email protected]> | 2012-07-09 12:13:41 +0300 |
commit | 18004c5d4084d965aa1396392706b8688306427a (patch) | |
tree | ae480cb4514cbddf38ee43ec4513f59cfa42c3d7 /tools/perf/util/trace-event-scripting.c | |
parent | 97d06609158e61f6bdf538c4a6788e2de492236f (diff) |
mm, sl[aou]b: Use a common mutex definition
Use the mutex definition from SLAB and make it the common way to take a sleeping lock.
This has the effect of using a mutex instead of a rw semaphore for SLUB.
SLOB gains the use of a mutex for kmem_cache_create serialization.
Not needed now but SLOB may acquire some more features later (like slabinfo
/ sysfs support) through the expansion of the common code that will
need this.
Reviewed-by: Glauber Costa <[email protected]>
Reviewed-by: Joonsoo Kim <[email protected]>
Signed-off-by: Christoph Lameter <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions