]> git.baikalelectronics.ru Git - kernel.git/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)
commitfe70cbacda06914c796c36070226b8a67383aaf7
tree38ce12147987355d78be1c568941a01266262234
parent93fbd29da7e18512ded69b55478195c22daeefbd
[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