From: Ingo Molnar <mingo@kernel.org>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>,
LKML <linux-kernel@vger.kernel.org>,
Alessio Igor Bogani <abogani@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Chris Metcalf <cmetcalf@tilera.com>,
Christoph Lameter <cl@linux.com>,
Geoff Levand <geoff@infradead.org>,
Gilad Ben Yossef <gilad@benyossef.com>,
Hakan Akkan <hakanakkan@gmail.com>,
Li Zhong <zhong@linux.vnet.ibm.com>,
Namhyung Kim <namhyung.kim@lge.com>,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
Paul Gortmaker <paul.gortmaker@windriver.com>,
Peter Zijlstra <peterz@infradead.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [ANNOUNCE] 3.8-rc6-nohz4
Date: Thu, 7 Feb 2013 20:07:54 +0100 [thread overview]
Message-ID: <20130207190754.GB25223@gmail.com> (raw)
In-Reply-To: <CAFTL4hySiyn8Ci6XKFSRsMr7FabgpwSbOuNDP_GsefFDsbT2Cg@mail.gmail.com>
* Frederic Weisbecker <fweisbec@gmail.com> wrote:
> 2013/2/7 Ingo Molnar <mingo@kernel.org>:
> >
> > * Steven Rostedt <rostedt@goodmis.org> wrote:
> >
> >> I'll reply to this as I come up with comments.
> >>
> >> First thing is, don't call it NO_HZ_FULL. A better name would
> >> be NO_HZ_CPU. I would like to reserve NO_HZ_FULL when we
> >> totally remove jiffies :-)
> >
> > I don't think we want yet another config option named in a
> > weird way.
> >
> > What we want instead is to just split NO_HZ up into its
> > conceptual parts:
> >
> > CONFIG_NO_HZ_IDLE
>
> Renaming CONFIG_NO_HZ to CONFIG_NO_HZ_IDLE is something I
> considered. I was just worried about this option being present
> in many defconfig.
I don't think renaming it is an option - it's present not just
in defconfigs, but in various distro configs, etc.
But we can add new config variables and use the existing
CONFIG_NO_HZ value to set their default values.
> Perhaps we can do that renaming and keep CONFIG_NO_HZ around a
> little while for backward compatibility (pretty much like what
> we've done for CONFIG_PERF_COUNTERS -> CONFIG_PERF_EVENTS).
Yes.
> > CONFIG_NO_HZ_USER_SPACE
> > CONFIG_NO_HZ_KERNEL_SPACE
> >
> > Where the current status quo is NO_HZ_IDLE=y, and Frederic is
> > about to introduce NO_HZ_USER_SPACE=y. When jiffies get removed
> > we get NO_HZ_KERNEL_SPACE=y.
>
> Note on my tree I stop the tick on both rings. I believe that
> restarting the tick on kernel entry isn't something we should
> seriously consider. It would be a costly operation that may
> make things worse. And in fact there is no big difference.
> Just kernelspace has more opportunities to be disturbed (RCU
> IPIs, async timer/work scheduled by the kernel, etc...) and
> get its tick restarted sometimes.
Ok.
Could we just simplify things and make this an unconditional
option of NO_HZ? Any reason why we'd want to make this
configurable, other than debugging?
I'm worried about the proliferation of not easily separable
config options. We already have way too many timer and scheduler
options to begin with.
> At least for now we seem to agree on CONFIG_NO_HZ_IDLE and
> keep CONFIG_NO_HZ for compatibility. Are you ok with that? If
> so I'll send a patch.
What would be the name of the new config option?
Can we just keep CONFIG_NO_HZ and extend it with your bits, and
make sure they work well?
Thanks,
Ingo
next prev parent reply other threads:[~2013-02-07 19:08 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-06 18:28 [ANNOUNCE] 3.8-rc6-nohz4 Frederic Weisbecker
2013-02-07 2:50 ` Steven Rostedt
2013-02-07 11:10 ` Ingo Molnar
2013-02-07 15:41 ` Christoph Lameter
2013-02-07 16:12 ` Steven Rostedt
2013-02-07 16:30 ` Paul E. McKenney
2013-02-07 17:06 ` Steven Rostedt
2013-02-07 17:37 ` Paul E. McKenney
2013-02-07 16:25 ` Frederic Weisbecker
2013-02-07 16:41 ` Steven Rostedt
2013-02-07 16:45 ` Frederic Weisbecker
2013-02-07 17:03 ` Steven Rostedt
2013-02-07 17:45 ` Frederic Weisbecker
2013-02-07 19:07 ` Ingo Molnar [this message]
2013-02-07 19:19 ` Steven Rostedt
2013-02-08 15:51 ` Frederic Weisbecker
2013-02-11 9:59 ` Ingo Molnar
2013-02-07 16:41 ` Frederic Weisbecker
2013-02-07 17:00 ` Steven Rostedt
2013-02-07 17:18 ` Frederic Weisbecker
2013-02-07 19:14 ` Christoph Lameter
2013-02-07 19:55 ` Ingo Molnar
2013-02-08 6:18 ` Mike Galbraith
2013-02-08 15:53 ` Frederic Weisbecker
2013-02-08 16:18 ` Steven Rostedt
2013-02-08 16:24 ` Christoph Lameter
2013-02-08 18:57 ` Clark Williams
2013-02-08 19:43 ` Christoph Lameter
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=20130207190754.GB25223@gmail.com \
--to=mingo@kernel.org \
--cc=abogani@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=cl@linux.com \
--cc=cmetcalf@tilera.com \
--cc=fweisbec@gmail.com \
--cc=geoff@infradead.org \
--cc=gilad@benyossef.com \
--cc=hakanakkan@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=namhyung.kim@lge.com \
--cc=paul.gortmaker@windriver.com \
--cc=paulmck@linux.vnet.ibm.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=zhong@linux.vnet.ibm.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;
as well as URLs for NNTP newsgroup(s).