All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Matthew Wilcox <willy@infradead.org>
Cc: Josh Triplett <josh@joshtriplett.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rcu: Use wrapper for lockdep asserts
Date: Wed, 17 Jan 2018 18:00:25 -0800	[thread overview]
Message-ID: <20180118020025.GA9671@linux.vnet.ibm.com> (raw)
In-Reply-To: <20180118004143.GA376@bombadil.infradead.org>

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@microsoft.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@microsoft.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

      reply	other threads:[~2018-01-18  2:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-17 14:24 [PATCH] rcu: Use wrapper for lockdep asserts Matthew Wilcox
2018-01-17 23:29 ` Paul E. McKenney
2018-01-18  0:41   ` Matthew Wilcox
2018-01-18  2:00     ` Paul E. McKenney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180118020025.GA9671@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=josh@joshtriplett.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.