From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org, will.deacon@arm.com,
milos@redhat.com, joe@perches.com, pdaly@codeaurora.org,
nicolas.iooss_linux@m4x.org, hofrat@osadl.org,
ying.xue@windriver.com, paul.gortmaker@windriver.com,
bobby.prani@gmail.com, alexey.kodanev@oracle.com
Subject: Re: [GIT PULL rcu/next] RCU commits for 4.2
Date: Tue, 2 Jun 2015 05:36:13 -0700 [thread overview]
Message-ID: <20150602123612.GE5989@linux.vnet.ibm.com> (raw)
In-Reply-To: <20150602063153.GA31128@gmail.com>
On Tue, Jun 02, 2015 at 08:31:53AM +0200, Ingo Molnar wrote:
> * Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
>
> > Hello, Ingo,
> >
> > The changes in this series include the following:
> >
> > 1. Remove all uses of RCU-protected array indexes. These were posted
> > to LKML at https://lkml.org/lkml/2015/5/12/827.
> >
> > 2. Documentation updates. These were posted to LKML at
> > https://lkml.org/lkml/2015/5/12/848.
> >
> > 3. Miscellaneous fixes. These were posted to LKML at
> > https://lkml.org/lkml/2015/5/12/876.
> >
> > 4. CPU-hotplug updates. These were posted to LKML at
> > https://lkml.org/lkml/2015/5/12/880.
> >
> > 5. Initialization/Kconfig updates. These were posted to LKML at
> > https://lkml.org/lkml/2015/5/12/918, however, the updates to
> > Tree RCU's initialization have been deferred to 4.3.
> >
> > 6. Updates to Tiny RCU. These were posted to LKML at
> > https://lkml.org/lkml/2015/5/12/957.
> >
> > 7. Torture-testing updates. These were posted to LKML at
> > https://lkml.org/lkml/2015/5/12/964.
[ . . . ]
> Pulled, thanks a lot Paul!
>
> I am wondering about the following small detail. You have reworked the whole RCU
> Kconfig machinery with the introduction of RCU_EXPERT and smart selection of
> defaults. (very nice!)
>
> There's a single interactive option left when a user configures RCU 'anew' and
> keeps CONFIG_RCU_EXPERT disabled:
>
> Offload RCU callback processing from boot-selected CPUs (RCU_NOCB_CPU) [N/y/?] (NEW)
>
> I'm wondering whether we could put this behind CONFIG_RCU_EXPERT as well, and
> disable it by default?
>
> The argument for this is very simple IMHO: NO_HZ_FULL depends on nocb_cpu support,
> and actually selects it, so there's no way to misconfigure it.
>
> Without NO_HZ_FULL it might still make sense to use nocb_cpu, but it's very much
> an advanced, expert option.
>
> With this change we could make RCU essentially configuration free in the common
> case! :-)
And the -rt folks could presumably add a select clause as well, where
needed. And I cannot recall a specific reason for not doing so. I have
queued the following patch, so let's see how it goes. ;-)
Thanx, Paul
------------------------------------------------------------------------
rcu: Hide RCU_NOCB_CPU behind RCU_EXPERT
This commit prevents Kconfig from asking the user about RCU_NOCB_CPU
unless the user really wants to be asked.
Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
diff --git a/init/Kconfig b/init/Kconfig
index 5b8726c10685..67a0156fa091 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -697,6 +697,7 @@ config RCU_BOOST_DELAY
config RCU_NOCB_CPU
bool "Offload RCU callback processing from boot-selected CPUs"
depends on TREE_RCU || PREEMPT_RCU
+ depends on RCU_EXPERT
default n
help
Use this option to reduce OS jitter for aggressive HPC or
prev parent reply other threads:[~2015-06-02 12:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-31 4:48 [GIT PULL rcu/next] RCU commits for 4.2 Paul E. McKenney
2015-06-02 6:31 ` Ingo Molnar
2015-06-02 12:36 ` 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=20150602123612.GE5989@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=alexey.kodanev@oracle.com \
--cc=bobby.prani@gmail.com \
--cc=hofrat@osadl.org \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=milos@redhat.com \
--cc=mingo@kernel.org \
--cc=nicolas.iooss_linux@m4x.org \
--cc=paul.gortmaker@windriver.com \
--cc=pdaly@codeaurora.org \
--cc=will.deacon@arm.com \
--cc=ying.xue@windriver.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