Revision f1aaee53f2877a7afa55e8245c241ff60a86367d authored by Arjan van de Ven on 13 July 2006, 12:46:03 UTC, committed by Linus Torvalds on 13 July 2006, 19:02:44 UTC
mm/slab.c uses nested locking when dealing with 'off-slab'
caches, in that case it allocates the slab header from the
(on-slab) kmalloc caches. Teach the lock validator about
this by putting all on-slab caches into a separate class.

this patch has no effect on non-lockdep kernels.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 873623d
History

back to top