[PATCH] slab: Avoid deadlock at kmem_cache_create/kmem_cache_destroy
authorRavikiran G Thirumalai <kiran@scalex86.org>
Fri, 10 Feb 2006 09:51:13 +0000 (01:51 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 10 Feb 2006 16:13:12 +0000 (08:13 -0800)
commitf0188f47482efdbd2e005103bb4f0224a835dfad
tree4d08110ea4560b433eecb4fa4de05dae6ea103e9
parent8e36709d8cea48a4d341294ce2b46678a2e77159
[PATCH] slab: Avoid deadlock at kmem_cache_create/kmem_cache_destroy

Prevents deadlock situation between
kmem_cache_create()/kmem_cache_destory(), and kmem_cache_create() /cpu
hotplug.  The locking order probably got moved over time.

Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/slab.c