Skip to content

rcu: preemptible expedited grace periods and cleanups

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rcu: rename "quiet" functionskernel/rcutree.c kernel/rcutree.h kernel/rcutree_plugin.h+45 -362 replies
2/4rcu: enable fourth level of TREE_RCU hierarchykernel/rcutree.c kernel/rcutree.h+18 -33 replies
3/4rcu: add expedited grace-period support for preemptible RCUkernel/rcutorture.c kernel/rcutree.c kernel/rcutree.h +2 more+260 -273 replies
4/4rcu: make RCU's CPU-stall detector be defaultlib/Kconfig.debug+1 -11 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJosh TriplettLai Jiangshan
SeriesA-b
1/4A-b A-b A-b
2/4A-b A-b A-b
3/4
4/4A-b

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 tip/core/rcu 0/4] rcu: preemptible expedited grace periods and cleanups

This patchset includes some cleanups, improved diagnostics, and an implementation of expedited preemptible RCU grace periods that is actually expedited:

1. Rename the "quiet" functions. The name rcu_quiet_cpu() was
clear enough, but now that we have four flavors of quietness with more on the way, we need more meaningful names.

2. Enable a fourth level of the rcu_node hierarchy. No, we really
don't need the ability to run on million-CPU SMP systems at the moment, but the additional level allows more vigorous stress-testing on 16-CPU systems.

3. Add an implementation of synchronize_rcu_expedited() that
actually expedites preemptible-RCU grace periods.

4. Make RCU_CPU_STALL_DETECTOR be on by default. If this works
well, the #ifdefs will eventually be removed to reduce testing load.

This patchset is intended for 2.6.34, but has passed sufficient testing that it could safely be included in 2.6.33, if desired.

 b/kernel/rcutorture.c     |   34 +++++--
 b/kernel/rcutree.c        |   66 ++++++++-------
 b/kernel/rcutree.h        |    3 
 b/kernel/rcutree_plugin.h |   13 +--
 b/kernel/rcutree_trace.c  |   11 +-
 b/lib/Kconfig.debug       |    3 
 kernel/rcutree.c          |   16 ++-
 kernel/rcutree.h          |   51 ++++++++++-
 kernel/rcutree_plugin.h   |  198 +++++++++++++++++++++++++++++++++++++++++++---
 9 files changed, 324 insertions(+), 71 deletions(-)