Skip to content

rcu: Allow a CPU to leave and reenter NOCB state

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 46 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10rcu: Directly lock rdp->nocb_lock on nocb code entrypointskernel/rcu/tree_plugin.h+7 -719 replies
2/10rcu: Use direct rdp->nocb_lock operations on local callskernel/rcu/tree_plugin.h+12 -120 replies
3/10rcu: Make locking explicit in do_nocb_deferred_wakeup_common()kernel/rcu/tree_plugin.h+2 -22 replies
4/10rcu: Implement rcu_segcblist_is_offloaded() config dependentinclude/linux/rcu_segcblist.h kernel/rcu/rcu_segcblist.c kernel/rcu/rcu_segcblist.h +1 more+17 -143 replies
5/10rcu: Remove useless conditional nocb unlockkernel/rcu/tree.c+0 -10 replies
6/10rcu: Make nocb_cb kthread parkablekernel/rcu/tree_plugin.h+5 -11 reply
7/10rcu: Temporarily assume that nohz full CPUs might not be NOCBkernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_plugin.h+6 -54 replies
8/10rcu: Allow to deactivate nocb on a CPUinclude/linux/rcupdate.h kernel/rcu/rcu_segcblist.c kernel/rcu/rcu_segcblist.h +1 more+54 -412 replies
9/10rcu: Allow to re-offload a CPU that used to be nocbinclude/linux/rcupdate.h kernel/rcu/tree_plugin.h+46 -01 reply
10/10rcu: Nocb (de)activate through sysfskernel/cpu.c+23 -03 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchPaul E. McKenneyFrederic WeisbeckerJoel Fernandes (Google)
1/10R-b
2/10
3/10
4/10
5/10
6/10R-b
7/10
8/10Inspired-by
9/10Inspired-by
10/10Not-Signed-off-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/10] rcu: Allow a CPU to leave and reenter NOCB state

This is a necessary step toward making nohz_full controllable through cpuset. Next step should be to allow a CPU to be nocb even if it wasn't part of the nocb set on boot.

The core design of this set is mostly based on suggestions from Paul of course.

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
rcu/nohz

HEAD: 31cb4ee9da4e9cc6314498ff22d83f0d872b1a88

Thanks,
Frederic
---

Frederic Weisbecker (10):
rcu: Directly lock rdp->nocb_lock on nocb code entrypoints
rcu: Use direct rdp->nocb_lock operations on local calls
rcu: Make locking explicit in do_nocb_deferred_wakeup_common()
rcu: Implement rcu_segcblist_is_offloaded() config dependent
rcu: Remove useless conditional nocb unlock
rcu: Make nocb_cb kthread parkable
rcu: Temporarily assume that nohz full CPUs might not be NOCB
rcu: Allow to deactivate nocb on a CPU
rcu: Allow to re-offload a CPU that used to be nocb
rcu: Nocb (de)activate through sysfs

 include/linux/rcu_segcblist.h |   2 +
 include/linux/rcupdate.h      |   4 ++
 kernel/cpu.c                  |  23 +++++++
 kernel/rcu/rcu_segcblist.c    |   6 +-
 kernel/rcu/rcu_segcblist.h    |   8 ++-
 kernel/rcu/tree.c             |  24 +++----
 kernel/rcu/tree.h             |   2 +-
 kernel/rcu/tree_plugin.h      | 149 ++++++++++++++++++++++++++++++++++--------
 8 files changed, 172 insertions(+), 46 deletions(-)