Skip to content

rcu/nocb: (De-)offloading on offline CPUs

Frederic Weisbecker lkml rcu 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11rcu/nocb: Introduce RCU_NOCB_LOCKDEP_WARN()include/linux/rcupdate.h kernel/rcu/tree_nocb.h kernel/rcu/tree_plugin.h+9 -160 replies
2/11rcu/nocb: Move nocb field at the end of state structkernel/rcu/tree.h+4 -10 replies
3/11rcu/nocb: Assert no callbacks while nocb kthread allocation failskernel/rcu/tree_nocb.h+11 -30 replies
4/11rcu/nocb: Introduce nocb mutexkernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_nocb.h +1 more+17 -80 replies
5/11rcu/nocb: (De-)offload callbacks on offline CPUs onlykernel/rcu/tree_nocb.h+21 -610 replies
6/11rcu/nocb: Remove halfway (de-)offloading handling from bypasskernel/rcu/tree_nocb.h+0 -80 replies
7/11rcu/nocb: Remove halfway (de-)offloading handling from rcu_core()'s QS reportingkernel/rcu/tree.c+0 -130 replies
8/11rcu/nocb: Remove halfway (de-)offloading handling from rcu_corekernel/rcu/tree.c+4 -220 replies
9/11rcu/nocb: Remove SEGCBLIST_RCU_COREinclude/linux/rcu_segcblist.h kernel/rcu/rcu_segcblist.h kernel/rcu/tree.c +1 more+4 -260 replies
10/11rcu/nocb: Remove SEGCBLIST_KTHREAD_CBinclude/linux/rcu_segcblist.h+2 -30 replies
11/11rcu/nocb: Simplify (de-)offloading state machineinclude/linux/rcu_segcblist.h kernel/rcu/rcu_segcblist.c kernel/rcu/rcu_segcblist.h +1 more+61 -854 replies

Reviews trailers per patch

None of the 11 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPaul E. McKenney
SeriesR-b
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] rcu/nocb: (De-)offloading on offline CPUs

Last LPC's debates seem to have raised general agreement that nohz_full cpusets interface should operate on offline CPUs to simplify the picture. And since the only known future user of NOCB (de-)offloading is going to be nohz_full cpusets, its transitions need to operate on offline CPUs as well.

The good news is that it simplifies a bit the (de-)offloading code, as the diffstat testifies.

Thanks.

Frederic Weisbecker (11):
rcu/nocb: Introduce RCU_NOCB_LOCKDEP_WARN()
rcu/nocb: Move nocb field at the end of state struct rcu/nocb: Assert no callbacks while nocb kthread allocation fails rcu/nocb: Introduce nocb mutex
rcu/nocb: (De-)offload callbacks on offline CPUs only rcu/nocb: Remove halfway (de-)offloading handling from bypass rcu/nocb: Remove halfway (de-)offloading handling from rcu_core()'s QS
reporting
rcu/nocb: Remove halfway (de-)offloading handling from rcu_core rcu/nocb: Remove SEGCBLIST_RCU_CORE
rcu/nocb: Remove SEGCBLIST_KTHREAD_CB
rcu/nocb: Simplify (de-)offloading state machine

 include/linux/rcu_segcblist.h |   6 +-
 include/linux/rcupdate.h      |   7 +
 kernel/rcu/rcu_segcblist.c    |  11 --
 kernel/rcu/rcu_segcblist.h    |  11 +-
 kernel/rcu/tree.c             |  45 +-----
 kernel/rcu/tree.h             |   6 +-
 kernel/rcu/tree_nocb.h        | 266 +++++++++++++---------------------
 kernel/rcu/tree_plugin.h      |   5 +-
 8 files changed, 122 insertions(+), 235 deletions(-)
Signature · 1 line
2.45.1