Skip to content

Expedited-grace-period changes for 4.5

Paul E. McKenney lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 2 repliesIn review
  2. v10 of 10 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11rcu: Short-circuit synchronize_sched_expedited() if only one CPUkernel/rcu/tree.c+4 -00 replies
2/11rcu: Clarify role of ->expmaskinitnextkernel/rcu/tree.h+2 -00 replies
3/11rcu: Move smp_mb() from rcu_seq_snap() to rcu_exp_gp_seq_snap()kernel/rcu/tree.c+1 -12 replies
4/11rcu: Invert sync_rcu_exp_select_cpus() "if" statementkernel/rcu/tree.c+14 -160 replies
5/11rcu: Reduce expedited GP memory contention via per-CPU variableskernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_trace.c+21 -160 replies
6/11rcu: Make expedited grace periods resolve stall-warning tieskernel/rcu/tree.c+1 -10 replies
7/11rcu: Add more diagnostics to expedited stall warning messages.kernel/rcu/tree.c+21 -30 replies
8/11rcu: Add rcu_normal kernel parameter to suppress expeditingDocumentation/kernel-parameters.txt include/linux/rcupdate.h kernel/ksysfs.c +4 more+65 -80 replies
9/11rcu: Wire up rcu_end_inkernel_boot()init/main.c+2 -00 replies
10/11rcu: Allow expedited grace periods to be disabled at initDocumentation/kernel-parameters.txt kernel/rcu/update.c+10 -00 replies
11/11rcu: Remove TINY_RCU bloat from pointless boot parametersDocumentation/kernel-parameters.txt include/linux/rcupdate.h kernel/ksysfs.c +1 more+24 -90 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchJosh Triplett
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11R-b

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

Read the v2 thread

Cover letter [PATCH v2 tip/core/rcu 0/11] Expedited-grace-period changes for 4.5

Hello!

This series contains follow-on cleanup changes to RCU's expedited grace-period functionality. The patches in this series are as follows:

1. Short-circuit synchronize_sched_expedited() if there is only one CPU.

2. Update comment to clarify the role of ->expmaskinitnext.

3. Separate concerns by moving smp_mb() from rcu_seq_snap() to

	rcu_exp_gp_seq_snap().

4. Safe a few lines of code by inverting the sense of
sync_rcu_exp_select_cpus() "if" statement.

5. Reduce expedited GP memory contention via per-CPU variables.

6. Get rid of (some) empty stall-warning messages by resolving
stall-warning ties.

7. Add more diagnostics to expedited stall warning messages.

8. Add rcu_normal kernel parameter to suppress expediting for
the benefit of aggressive real-time systems.

9-10. Allow expedited grace periods to be disabled just before init
is spawned, allowing them to speed up boot without interfering with run-time real-time workloads.

11. Remove TINY_RCU bloat from pointless (to TINY_RCU) boot parameters.

Changes since v1:

o Add patch 11 removing TINY_RCU bloat.

o Get cover letter and patches correctly associated. :-/

Thanx, Paul

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

 Documentation/kernel-parameters.txt |   37 ++++++++++++----
 include/linux/rcupdate.h            |   15 ++++++
 init/main.c                         |    2 
 kernel/ksysfs.c                     |   26 ++++++++++-
 kernel/rcu/srcu.c                   |    2 
 kernel/rcu/tree.c                   |   79 +++++++++++++++++++++++-------------
 kernel/rcu/tree.h                   |   10 ++--
 kernel/rcu/tree_plugin.h            |    6 ++
 kernel/rcu/tree_trace.c             |   18 +++++---
 kernel/rcu/update.c                 |   24 +++++++++-
 10 files changed, 165 insertions(+), 54 deletions(-)