From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: linux-kernel@vger.kernel.org
Cc: mingo@kernel.org, laijs@cn.fujitsu.com, dipankar@in.ibm.com,
akpm@linux-foundation.org, mathieu.desnoyers@efficios.com,
josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org,
rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com,
dvhart@linux.intel.com, fweisbec@gmail.com, oleg@redhat.com,
bobby.prani@gmail.com
Subject: [PATCH tip/core/rcu 0/5] In-kernel programmatic grace-period expediting for v4.1
Date: Tue, 3 Mar 2015 09:10:56 -0800 [thread overview]
Message-ID: <20150303171056.GA11435@linux.vnet.ibm.com> (raw)
Hello!
This series provides an in-kernel API to expedite and unexpedite normal
RCU grace-period primitives such as synchronize_rcu(). It also provides
a Kconfig parameter that implicitly expedites at boot time, along with
a function that notes the end of in-kernel boot. This last function is
intended to be invoked just before init is spawned.
1. Provide rcu_expedite_gp() and rcu_unexpedite_gp().
2. Add rcu_expedite_gp() and rcu_unexpedite_gp() to rcutorture.
3. Change open-coded references ot the rcu_expedited variable to
instead use the new rcu_gp_is_expedited() function.
4. Add a CONFIG_RCU_EXPEDITE_BOOT Kconfig parameter that emulates
a very early boot rcu_expedite_gp(). Also provide a new
rcu_end_inkernel_boot() function that provides the corresponding
rcu_unexpedite_gp() if CONFIG_RCU_EXPEDITE_BOOT.
5. Make consistent use of variables in rcu_torture_writer().
Thanx, Paul
------------------------------------------------------------------------
b/include/linux/rcupdate.h | 21 ++++++++++++++++
b/init/Kconfig | 13 +++++++++
b/kernel/rcu/rcutorture.c | 27 +++++++++++++++++++-
b/kernel/rcu/srcu.c | 2 -
b/kernel/rcu/tree.c | 9 +++---
b/kernel/rcu/tree_plugin.h | 2 -
b/kernel/rcu/update.c | 59 ++++++++++++++++++++++++++++++++++++++++++++-
7 files changed, 125 insertions(+), 8 deletions(-)
next reply other threads:[~2015-03-03 17:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-03 17:10 Paul E. McKenney [this message]
2015-03-03 17:11 ` [PATCH tip/core/rcu 1/5] rcu: Provide rcu_expedite_gp() and rcu_unexpedite_gp() Paul E. McKenney
2015-03-03 17:11 ` [PATCH tip/core/rcu 2/5] rcu: Add rcu_expedite_gp() and rcu_unexpedite_gp() to rcutorture Paul E. McKenney
2015-03-03 17:11 ` [PATCH tip/core/rcu 3/5] rcu: Update from rcu_expedited variable to rcu_gp_is_expedited() Paul E. McKenney
2015-03-03 17:11 ` [PATCH tip/core/rcu 4/5] rcu: Add Kconfig option to expedite grace periods during boot Paul E. McKenney
2015-03-03 17:11 ` [PATCH tip/core/rcu 5/5] rcutorture: Make consistent use of variables Paul E. McKenney
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=20150303171056.GA11435@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=bobby.prani@gmail.com \
--cc=dhowells@redhat.com \
--cc=dipankar@in.ibm.com \
--cc=dvhart@linux.intel.com \
--cc=edumazet@google.com \
--cc=fweisbec@gmail.com \
--cc=josh@joshtriplett.org \
--cc=laijs@cn.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=mingo@kernel.org \
--cc=oleg@redhat.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/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