diff options
author | Christoph Lameter <cl@linux.com> | 2012-07-06 22:25:12 +0200 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-07-09 11:13:41 +0200 |
commit | 18004c5d4084d965aa1396392706b8688306427a (patch) | |
tree | ae480cb4514cbddf38ee43ec4513f59cfa42c3d7 /Documentation/lockup-watchdogs.txt | |
parent | mm, sl[aou]b: Common definition for boot state of the slab allocators (diff) | |
download | linux-18004c5d4084d965aa1396392706b8688306427a.tar.xz linux-18004c5d4084d965aa1396392706b8688306427a.zip |
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 <glommer@parallels.com>
Reviewed-by: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'Documentation/lockup-watchdogs.txt')
0 files changed, 0 insertions, 0 deletions