public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rcu 0/5] Extricate rcu_barrier() from CPU hotplug
@ 2022-02-04 23:20 Paul E. McKenney
  2022-02-04 23:20 ` [PATCH rcu 1/5] rcu: Kill rnp->ofl_seq and use only rcu_state.ofl_lock for exclusion Paul E. McKenney
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Paul E. McKenney @ 2022-02-04 23:20 UTC (permalink / raw)
  To: rcu; +Cc: linux-kernel, kernel-team, rostedt

Hello!

This series reworks rcu_barrier() to remove its calls to cpus_read_lock()
and cpus_read_unlock().  This improves modularity, gets rid of an
acquisition of a wide-spectrum synchronization mechanism, and allows
rcu_barrier() to be invoked from CPU-hotplug notifiers that permit
blocking.  Not that this last is necessarily a good idea.

1.	Kill rnp->ofl_seq and use only rcu_state.ofl_lock for exclusion,
	courtesy of David Woodhouse.

2.	Refactor rcu_barrier() empty-list handling.

3.	Rework rcu_barrier() and callback-migration logic.

4.	Make rcu_barrier() no longer block CPU-hotplug operations.

5.	Create and use an rcu_rdp_cpu_online().

						Thanx, Paul

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

 b/include/trace/events/rcu.h |    9 +-
 b/kernel/rcu/tree.c          |   71 ++++++++++----------
 b/kernel/rcu/tree.h          |    4 -
 b/kernel/rcu/tree_plugin.h   |    6 -
 kernel/rcu/tree.c            |  151 +++++++++++++++++++++++++++----------------
 kernel/rcu/tree.h            |    5 +
 6 files changed, 143 insertions(+), 103 deletions(-)

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

end of thread, other threads:[~2022-02-04 23:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-04 23:20 [PATCH rcu 0/5] Extricate rcu_barrier() from CPU hotplug Paul E. McKenney
2022-02-04 23:20 ` [PATCH rcu 1/5] rcu: Kill rnp->ofl_seq and use only rcu_state.ofl_lock for exclusion Paul E. McKenney
2022-02-04 23:20 ` [PATCH rcu 2/5] rcu: Refactor rcu_barrier() empty-list handling Paul E. McKenney
2022-02-04 23:20 ` [PATCH rcu 3/5] rcu: Rework rcu_barrier() and callback-migration logic Paul E. McKenney
2022-02-04 23:20 ` [PATCH rcu 4/5] rcu: Make rcu_barrier() no longer block CPU-hotplug operations Paul E. McKenney
2022-02-04 23:20 ` [PATCH rcu 5/5] rcu: Create and use an rcu_rdp_cpu_online() 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