Lockdep: add lockdep_set_class_and_subclass() and lockdep_set_subclass()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 11 Oct 2006 05:45:14 +0000 (01:45 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Wed, 11 Oct 2006 05:45:14 +0000 (01:45 -0400)
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@chello.nl>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found