Re: [PATCH 1/2] lockdep: lockdep_set_class_and_subclass
From: Ingo Molnar
Date: Tue Sep 26 2006 - 08:02:26 EST
* Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
> Add lockdep_set_class_and_subclass() to the lockdep annotations.
> This annotation makes it possible to assign a subclass on lock init.
> This annotation is meant to reduce the _nested() annotations by
> assigning a default subclass.
> One could do without this annotation and rely on lockdep_set_class()
> exclusively, but that would require a manual stack of struct
> lock_class_key objects.
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
thanks, this extension to lockdep.c looks good to me - provided it
solves the problem :-)
Acked-by: Ingo Molnar <mingo@xxxxxxx>
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/