public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH tip/core/rcu 0/7] Early-boot RCU callbacks for v4.1
@ 2015-03-03 16:45 Paul E. McKenney
  2015-03-03 16:45 ` [PATCH tip/core/rcu 1/7] rcu: Abstract default callback-list initialization from init_callback_list() Paul E. McKenney
  0 siblings, 1 reply; 10+ messages in thread
From: Paul E. McKenney @ 2015-03-03 16:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: mingo, laijs, dipankar, akpm, mathieu.desnoyers, josh, tglx,
	peterz, rostedt, dhowells, edumazet, dvhart, fweisbec, oleg,
	bobby.prani

Hello!

This series allows RCU callbacks to be posted very early at boot time,
even before rcu_init() is called.

1.	Abstract initialization of the default (non-no-CB) callbacks list
	from the init_callback_list() function into a new
	init_default_callback_list() function.

2.	Initialize rcu_state structures' ->rda pointers to per-CPU
	rcu_data structures at compile time, so that this linkage
	is established for early-boot usage.

3.	Remove diagnostics that currently splat in the presence of
	early-boot RCU callbacks.

4.	Update no-CBs diagnostics to allow for early-boot RCU callbacks.

5.	Make RCU's CPU-hotplug online code avoid initializing non-empty
	RCU callback lists in order to avoid leaking early-boot callbacks.

6.	When a given CPU is determined to be a no-CBs CPU, move any
	early-boot callbacks to its no-CBs callback list.

7.	Move the early-boot callback tests to precede rcu_init()'s
	initialization code, the better to test all the above.

							Thanx, Paul

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

 b/kernel/rcu/tree.c        |   52 ++++++++++++++++++++++++++++++++-------------
 b/kernel/rcu/tree_plugin.h |   27 ++++++++++++-----------
 2 files changed, 51 insertions(+), 28 deletions(-)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-03-03 17:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03 16:45 [PATCH tip/core/rcu 0/7] Early-boot RCU callbacks for v4.1 Paul E. McKenney
2015-03-03 16:45 ` [PATCH tip/core/rcu 1/7] rcu: Abstract default callback-list initialization from init_callback_list() Paul E. McKenney
2015-03-03 16:45   ` [PATCH tip/core/rcu 2/7] rcu: Wire ->rda pointers at compile time Paul E. McKenney
2015-03-03 16:45   ` [PATCH tip/core/rcu 3/7] rcu: Prevent early-boot RCU callbacks from splatting Paul E. McKenney
2015-03-03 16:45   ` [PATCH tip/core/rcu 4/7] rcu: Refine diagnostics for lacking kthread for no-CBs callbacks Paul E. McKenney
2015-03-03 16:45   ` [PATCH tip/core/rcu 5/7] rcu: Avoid clobbering early boot callbacks Paul E. McKenney
2015-03-03 16:45   ` [PATCH tip/core/rcu 6/7] rcu: Move early-boot callbacks to no-CBs lists for no-CBs CPUs Paul E. McKenney
2015-03-03 16:57     ` Mathieu Desnoyers
2015-03-03 17:12       ` Paul E. McKenney
2015-03-03 16:45   ` [PATCH tip/core/rcu 7/7] rcu: Move early boot callback tests earlier Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox