Re: [PATCH v6 05/15] lockdep: Implement crossrelease feature
From: Peter Zijlstra
Date: Tue May 16 2017 - 10:19:10 EST
On Tue, Apr 25, 2017 at 02:40:44PM +0900, Byungchul Park wrote:
> On Mon, Apr 24, 2017 at 12:17:47PM +0200, Peter Zijlstra wrote:
> > My complaint is mostly about naming.. and "hist_gen_id" might be a
> > better name.
>
> Ah, I also think the name, 'work_id', is not good... and frankly I am
> not sure if 'hist_gen_id' is good, either. What about to apply 'rollback',
> which I did for locks in irq, into works of workqueues? If you say yes,
> I will try to do it.
If the rollback thing works, that's fine too. If it gets ugly, stick
with something like 'hist_id'.