Re: [PATCH v2 2/2] lockdep: Fix merging of hlocks with non-zero references

From: Peter Zijlstra
Date: Mon May 27 2019 - 12:14:00 EST


On Mon, May 27, 2019 at 06:44:29PM +0300, Imre Deak wrote:
> On Mon, May 27, 2019 at 05:14:38PM +0200, Peter Zijlstra wrote:
> > On Fri, May 24, 2019 at 11:15:09PM +0300, Imre Deak wrote:

> > > - if (DEBUG_LOCKS_WARN_ON(hlock->references == UINT_MAX))
> >
> > What tree is this against?
>
> I just used our
> git://anongit.freedesktop.org/drm-tip
> and the most recent upstream commit in that is:
>

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/lockdep.h#n270