[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180118020025.GA9671@linux.vnet.ibm.com>
Date: Wed, 17 Jan 2018 18:00:25 -0800
From: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To: Matthew Wilcox <willy@...radead.org>
Cc: Josh Triplett <josh@...htriplett.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rcu: Use wrapper for lockdep asserts
On Wed, Jan 17, 2018 at 04:41:43PM -0800, Matthew Wilcox wrote:
> On Wed, Jan 17, 2018 at 03:29:13PM -0800, Paul E. McKenney wrote:
> > On Wed, Jan 17, 2018 at 06:24:30AM -0800, Matthew Wilcox wrote:
> > >
> > > From: Matthew Wilcox <mawilcox@...rosoft.com>
> > >
> > > Commits c0b334c5bfa9 and ea9b0c8a26a2 introduced new sparse warnings
> > > by accessing rcu_node->lock directly and ignoring the __private
> > > marker. Introduce a new wrapper and use it. Also fix a similar problem
> > > in srcutree.c introduced by a3883df3935e.
> > >
> > > Signed-off-by: Matthew Wilcox <mawilcox@...rosoft.com>
> >
> > Good catch! Applied for review and testing.
> >
> > For some reason, I was expecting 0day to catch this sort of thing...
>
> Funny you should say, it was 0day which pointed it out to me! I changed
> lockdep to take a const struct lockdep_map *lock instead of a plain
> struct lockdep_map *lock and I got a whinge from 0day that I'd changed
> some of the warnings, so I looked into it in case it was my fault.
Nary a peep at me. Regardless, glad you caught it, and thank you for
the fix!
Thanx, Paul
Powered by blists - more mailing lists