Re: [patch] lockdep: annotate mm/slab.c

From: Pekka Enberg
Date: Thu Jul 13 2006 - 11:43:53 EST


Hi,

On 7/13/06, Ingo Molnar <mingo@xxxxxxx> wrote:
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.

Which lock is that? This affects only caches that cache_grow() use, so
we are really only interested in annotating kmalloc() on-slab caches
(like in the patch), not _all_, right?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/