]> err.no Git - linux-2.6/commit
[PATCH] lockdep: annotate mm/slab.c
authorArjan van de Ven <arjan@infradead.org>
Thu, 13 Jul 2006 12:46:03 +0000 (14:46 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 13 Jul 2006 19:02:44 +0000 (12:02 -0700)
commitf1aaee53f2877a7afa55e8245c241ff60a86367d
tree38ce12147987355d78be1c568941a01266262234
parent873623dfabaa6ebbdc1ce16c1766a3c0ec5d9923
[PATCH] lockdep: annotate mm/slab.c

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>
mm/slab.c