public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Alessio Igor Bogani <abogani@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Avi Kivity <avi@redhat.com>, Chris Metcalf <cmetcalf@tilera.com>,
	Christoph Lameter <cl@linux.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Geoff Levand <geoff@infradead.org>,
	Gilad Ben Yossef <gilad@benyossef.com>,
	Hakan Akkan <hakanakkan@gmail.com>, Kevin Hilman <khilman@ti.com>,
	Max Krasnyansky <maxk@qualcomm.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Stephen Hemminger <shemminger@vyatta.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Sven-Thorsten Dietrich <thebigcorporation@gmail.com>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH 0/2] rcu: Extended quiescent state for adaptive nohz
Date: Thu, 7 Jun 2012 15:45:08 -0700	[thread overview]
Message-ID: <20120607224508.GX19601@linux.vnet.ibm.com> (raw)
In-Reply-To: <20120607142101.GI19842@somewhere.redhat.com>

On Thu, Jun 07, 2012 at 04:21:09PM +0200, Frederic Weisbecker wrote:
> On Tue, Jun 05, 2012 at 04:46:40PM -0700, Paul E. McKenney wrote:
> > On Tue, Jun 05, 2012 at 12:31:00PM +0200, Frederic Weisbecker wrote:
> > > On Mon, Jun 04, 2012 at 02:07:09PM -0700, Paul E. McKenney wrote:
> > > > On Mon, Jun 04, 2012 at 09:06:22PM +0200, Frederic Weisbecker wrote:
> > > > > 2012/6/4 Paul E. McKenney <paulmck@linux.vnet.ibm.com>:
> > > > > > On Mon, Jun 04, 2012 at 02:08:26PM +0200, fweisbec@gmail.com wrote:
> > > > > >> From: Frederic Weisbecker <fweisbec@gmail.com>
> > > > > >>
> > > > > >> Paul, Ingo,
> > > > > >>
> > > > > >> This is a rebase of the nohz cpusets RCU APIs on top of Paul's latest
> > > > > >> -rcu (rcu/core) branch.
> > > > > >>
> > > > > >> I have only built tested it yet, I need to do a full rebase of my
> > > > > >> tree to test it in practice. But I wanted to show you how it looks
> > > > > >> like first.
> > > > > >>
> > > > > >> I also wonder if we can set that to a tree somewhere. Ingo suggested
> > > > > >> to set up a tree on -tip to apply the uncontroversial part of nohz
> > > > > >> cpusets patches and iterate from there. I think it would accelerate
> > > > > >> everything if we start doing that.
> > > > > >
> > > > > > It would probably be best to put these two in the -rcu set in order to
> > > > > > avoid conflicts with possible further RCU_FAST_NO_HZ work.  I could
> > > > > > push this to -tip early, if that would help.
> > > > > 
> > > > > But then these APIs are going to be upstream on 3.6
> > > > > Is that ok for you even if they don't have any upstream user?
> > > > > We can ifdef it.
> > > > 
> > > > I figured on maintaining a separate rcu/idle topic branch that I would
> > > > merge locally for building and testing, but which I would not push
> > > > to rcu/next.  If Ingo agrees, I can push separately to -tip so that it
> > > > does not go upstream until you are ready, at which point I would merge
> > > > it into rcu/next.
> > > > 
> > > > Seem reasonable, or would something else work better?
> > > 
> > > Sounds very good!
> > 
> > Here you go:
> > 
> > git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/idle
> 
> Thanks!
> 
> I can see you've implemented a version for TinyRCU. Nohz cpusets only work on
> SMP right now because there must be at least one CPU running with the tick
> to maintain the timekeeping. I'm pretty confident that one day we'll remove
> the jiffies and we'll be able to do the whole timekeeping by using the TSC
> or so. There is quite a way before we reach that though.

In the meantime, would it make sense to slow the tick rate by a factor
of 10 or so on that one CPU when nothing else is going on?  Or does
timekeeping absolutely require running the tick at full speed?

							Thanx, Paul


  reply	other threads:[~2012-06-08  4:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-04 12:08 [PATCH 0/2] rcu: Extended quiescent state for adaptive nohz fweisbec
2012-06-04 12:08 ` [PATCH 1/2] rcu: New rcu_user_enter() and rcu_user_exit() APIs fweisbec
2012-06-04 12:08 ` [PATCH 2/2] rcu: New rcu_user_enter_irq() and rcu_user_exit_irq() APIs fweisbec
2012-06-04 18:13 ` [PATCH 0/2] rcu: Extended quiescent state for adaptive nohz Paul E. McKenney
2012-06-04 19:06   ` Frederic Weisbecker
2012-06-04 21:07     ` Paul E. McKenney
2012-06-05 10:31       ` Frederic Weisbecker
2012-06-05 23:46         ` Paul E. McKenney
2012-06-07 14:21           ` Frederic Weisbecker
2012-06-07 22:45             ` Paul E. McKenney [this message]
2012-06-09 22:58               ` Frederic Weisbecker
2012-06-10 17:54                 ` Paul E. McKenney
2012-06-09 22:55           ` [PATCH] rcu: Allow calls to rcu_exit_user_irq from nesting irqs Frederic Weisbecker
2012-06-10 18:06             ` Paul E. McKenney
2012-06-10 20:29               ` Frederic Weisbecker
2012-06-10 21:47               ` [PATCH v2] " Frederic Weisbecker
2012-06-11 21:55                 ` Paul E. McKenney
2012-06-11 22:06                   ` Frederic Weisbecker

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=20120607224508.GX19601@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=abogani@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=avi@redhat.com \
    --cc=cl@linux.com \
    --cc=cmetcalf@tilera.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=fweisbec@gmail.com \
    --cc=geoff@infradead.org \
    --cc=gilad@benyossef.com \
    --cc=hakanakkan@gmail.com \
    --cc=khilman@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxk@qualcomm.com \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=shemminger@vyatta.com \
    --cc=tglx@linutronix.de \
    --cc=thebigcorporation@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox