[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060926115404.GA18283@elte.hu>
Date: Tue, 26 Sep 2006 13:54:04 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
linux-kernel@...r.kernel.org, Jiri Kosina <jikos@...os.cz>,
Andrew Morton <akpm@...l.org>,
Arjan van de Ven <arjan@...radead.org>,
Dave Jones <davej@...hat.com>
Subject: Re: [PATCH 1/2] lockdep: lockdep_set_class_and_subclass
* Peter Zijlstra <a.p.zijlstra@...llo.nl> 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@...llo.nl>
thanks, this extension to lockdep.c looks good to me - provided it
solves the problem :-)
Acked-by: Ingo Molnar <mingo@...e.hu>
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists