All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.ibm.com>
To: Joel Fernandes <joel@joelfernandes.org>
Cc: linux-kernel@vger.kernel.org, kernel-team@android.com,
	Ingo Molnar <mingo@redhat.com>,
	Josh Triplett <josh@joshtriplett.org>,
	Lai Jiangshan <jiangshanlai@gmail.com>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [PATCH RFC 1/2] sched/core: Convert synchronize_rcu_mult to synchronize_rcu
Date: Tue, 2 Oct 2018 15:07:48 -0700	[thread overview]
Message-ID: <20181002220748.GM4222@linux.ibm.com> (raw)
In-Reply-To: <20181002212019.GC89166@joelaf.mtv.corp.google.com>

On Tue, Oct 02, 2018 at 02:20:19PM -0700, Joel Fernandes wrote:
> On Mon, Oct 01, 2018 at 08:38:01PM -0700, Paul E. McKenney wrote:
> > On Mon, Oct 01, 2018 at 06:20:11PM -0700, Joel Fernandes wrote:
> > > From: "Joel Fernandes (Google)" <joel@joelfernandes.org>
> > > 
> > > synchronize_rcu_mult is now obsolete since all the different RCU flavors
> > > have been consolidated and the API is now common on the updater side.
> > > sched/core.c is the only user of it. All call_rcu_<flavor> calls boil
> > > down to the same call_rcu. So there's no point in calling
> > > synchronize_rcu_mult infact it could potentially be slower due to
> > > waiting for the call_rcu callback twice. Just call synchronize_rcu here
> > > which should do the job.
> > > 
> > > Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
> > 
> > Well, the theory was that I was going to keep this series hidden until
> > the consolidation hit mainline just to avoid confusion, but please see
> > 5fc9d4e000b1 ("rcu: Eliminate synchronize_rcu_mult()"), which I just
> > now pushed to -rcu.  To your credit, you did get most of it.  ;-)
> 
> Glad you already took care of that ;-) I should have taken a peek at rcu/test
> branch :D

You wouldn't have seen anything before yesterday, so no worries!

> > Here is the full list:
> > 
> > pick 1f3e6eaed8fa Apply coccinelle script to consolidate calls to RCU-bh and RCU-sched
> > pick 5fc9d4e000b1 rcu: Eliminate synchronize_rcu_mult()
> > pick a8475496801e rcu: Consolidate the RCU update functions invoked by sync.c
> > pick d8ffb03461ad sched/membarrier: Replace synchronize_sched() with synchronize_rcu()
> > 
> > Of course, I will need to rerun the coccinelle script and split the
> > result across subsystems, but I am waiting until the current pull
> > request hits mainline.  Let's face it, none of us need to do debugging
> > on someone consolidating their RCU updates before at least this commit
> > and its predecessors hit mainline:
> > 
> > 709fdce7545c ("rcu: Express Tiny RCU updates in terms of RCU rather than RCU-sched")
> > 
> > I sent the pull request to Ingo a few days ago, so with some luck this
> > will all get to mainline during the next merge window, and then it is
> > open season on outside-of-RCU cleanups.  ;-)
> 
> Cool, thanks,

And Ingo did pull it, and you should have been CCed on a few of the
-tip notifications.  ;-)

							Thanx, Paul


      reply	other threads:[~2018-10-02 22:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-02  1:20 [PATCH RFC 1/2] sched/core: Convert synchronize_rcu_mult to synchronize_rcu Joel Fernandes
2018-10-02  1:20 ` [PATCH RFC 2/2] rcu: Remove synchronize_rcu_mult since it has no more users Joel Fernandes
2018-10-02  3:38 ` [PATCH RFC 1/2] sched/core: Convert synchronize_rcu_mult to synchronize_rcu Paul E. McKenney
2018-10-02 21:20   ` Joel Fernandes
2018-10-02 22:07     ` 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=20181002220748.GM4222@linux.ibm.com \
    --to=paulmck@linux.ibm.com \
    --cc=jiangshanlai@gmail.com \
    --cc=joel@joelfernandes.org \
    --cc=josh@joshtriplett.org \
    --cc=kernel-team@android.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.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.