All of lore.kernel.org
 help / color / mirror / Atom feed
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/14] NOCBs and NO_HZ_FULL changes for 3.18
Date: Thu, 28 Aug 2014 11:37:55 -0700	[thread overview]
Message-ID: <20140828183754.GA25488@linux.vnet.ibm.com> (raw)

Hello!

This series includes changes affecting NOCBs and NO_HZ_FULL operation.

1.	Fix for bug in earlier patch (b58cc46c5f6b, Don't offload
	callbacks unless specifically requested) that properly handles
	early-boot callbacks.  (This bug affects unusual configurations,
	see commit log for more information.)

2.	Properly check the return value of zalloc_cpumask_var(), courtesy
	of Pranith Kumar.

3.	Use bool constant for __call_rcu_nocb() return value, courtesy
	of Pranith Kumar.

4.	Use bool constant for rcu_nocb_adopt_orphan_cbs() return value,
	courtesy of Pranith Kumar.

5.	Use bool constant for __call_rcu_nocb() return value in the case
	where callbacks are not offloaded, courtesy of Pranith Kumar.

6.	Use bool constant for rcu_nocb_adopt_orphan_cbs() return value in
	the case where callbacks are not offloaded, courtesy of Pranith
	Kumar.

7.	Aggregate RCU's kthread creation so that it is all done from a
	single early_initcall() function.

8.	Create rcuo kthreads only for CPUs that actually have come online
	at least once since boot.

9.	Check have_rcu_nocb_mask instead of for a NULL rcu_nocb_mask,
	given that this latter is not necessarily a pointer, courtesy
	of Pranith Kumar.

10.	Eliminate redundant rcu_sysidle_state variable.

11.	Don't bother tracking sysidle state if there are no nohz_full=
	CPUs in the system.

12.	Avoid misordering in __call_rcu_nocb_enqueue().

13.	Handle NOCB callbacks from irq-disabled idle code.

14.	Avoid misordering in nocb_leader_wait().

							Thanx, Paul

------------------------------------------------------------------------

 b/include/linux/rcupdate.h |    8 +
 b/init/Kconfig             |    4 
 b/init/main.c              |    1 
 b/kernel/rcu/tree.c        |    4 
 b/kernel/rcu/tree.h        |    1 
 b/kernel/rcu/tree_plugin.h |   92 +++++++++++++++-------
 kernel/rcu/tree.c          |    3 
 kernel/rcu/tree.h          |    6 +
 kernel/rcu/tree_plugin.h   |  182 ++++++++++++++++++++++++++++++++-------------
 9 files changed, 216 insertions(+), 85 deletions(-)


             reply	other threads:[~2014-08-28 18:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28 18:37 Paul E. McKenney [this message]
2014-08-28 18:38 ` [PATCH tip/core/rcu 01/14] rcu: Fix attempt to avoid unsolicited offloading of callbacks Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 02/14] rcu: Check the return value of zalloc_cpumask_var() Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 03/14] rcu: Use true/false for return in __call_rcu_nocb() Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 04/14] rcu: Use true/false for return in rcu_nocb_adopt_orphan_cbs() Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 05/14] rcu: Use false for return in __call_rcu_nocb() Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 06/14] rcu: Return false instead of 0 in rcu_nocb_adopt_orphan_cbs() Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 07/14] rcu: Rationalize kthread spawning Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 08/14] rcu: Create rcuo kthreads only for onlined CPUs Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 09/14] rcu: Check for have_rcu_nocb_mask instead of rcu_nocb_mask Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 10/14] rcu: Eliminate redundant rcu_sysidle_state variable Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 11/14] rcu: Don't track sysidle state if no nohz_full= CPUs Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 12/14] rcu: Avoid misordering in __call_rcu_nocb_enqueue() Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 13/14] rcu: Handle NOCB callbacks from irq-disabled idle code Paul E. McKenney
2014-08-28 18:38   ` [PATCH tip/core/rcu 14/14] rcu: Avoid misordering in nocb_leader_wait() 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=20140828183754.GA25488@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 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.