[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHttsra1e4s0RApdLb1=FtQFkB_pYe5YiLJ=7Ne4z3_jU_NmSw@mail.gmail.com>
Date: Fri, 26 Apr 2019 13:41:45 +0800
From: Yuyang Du <duyuyang@...il.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: will.deacon@....com, Ingo Molnar <mingo@...nel.org>,
Bart Van Assche <bvanassche@....org>, ming.lei@...hat.com,
Frederic Weisbecker <frederic@...nel.org>, tglx@...utronix.de,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 02/28] locking/lockdep: Add description and explanation in
lockdep design doc
Thank you very much for review.
You mean class can go away? Before Bart's addition, it can go away.
Right? I think maybe the original point of "never go away" in that
context did not intend to talk about a class's real disappearance.
Anyway, the points should be made comprehensive. You want me to resend
the patch or you modify it?
On Thu, 25 Apr 2019 at 22:01, Peter Zijlstra <peterz@...radead.org> wrote:
>
> On Wed, Apr 24, 2019 at 06:19:08PM +0800, Yuyang Du wrote:
> > +Unlike a lock instance, a lock-class itself never goes away: when a
> > +lock-class's instance is used for the first time after bootup the class gets
> > +registered, and all (subsequent) instances of that lock-class will be mapped
> > +to the lock-class.
>
> That's not entirely accurate anymore. Bart van Assche recently added
> lockdep_{,un}register_key().
Powered by blists - more mailing lists