Skip to content

RCU flavor consolidation cleanups for v5.1

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12sched: Replace call_rcu_sched() with call_rcu()kernel/sched/sched.h kernel/sched/topology.c+3 -30 replies
2/12sched: Replace synchronize_sched() with synchronize_rcu()kernel/sched/cpufreq.c kernel/sched/cpufreq_schedutil.c+3 -30 replies
3/12rcu: Rename and comment changes due to only one rcuo kthread per CPUkernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_plugin.h+6 -60 replies
4/12rcu: Make expedited IPI handler return after handling critical sectionkernel/rcu/tree_exp.h+1 -00 replies
5/12rcu: Inline force_quiescent_state() into rcu_force_quiescent_state()kernel/rcu/tree.c+6 -150 replies
6/12rcu: Eliminate RCU_BH_FLAVOR and RCU_SCHED_FLAVORkernel/rcu/rcu.h kernel/rcu/tree.c+0 -40 replies
7/12rcu: Inline rcu_kthread_do_work() into its sole remaining callerkernel/rcu/tree_plugin.h+1 -60 replies
8/12rcu: Determine expedited-GP IPI handler at build timeDocumentation/RCU/Design/Expedited-Grace-Periods/ExpSchedFlow.svg Documentation/RCU/Design/Expedited-Grace-Periods/Expedited-Grace-Periods.html kernel/rcu/tree.h +1 more+38 -370 replies
9/12rcu: Consolidate PREEMPT and !PREEMPT synchronize_rcu_expedited()kernel/rcu/tree_exp.h+49 -560 replies
10/12rcu: Consolidate PREEMPT and !PREEMPT synchronize_rcu()kernel/rcu/tree.c kernel/rcu/tree_exp.h kernel/rcu/tree_plugin.h+73 -910 replies
11/12rcu: Inline _synchronize_rcu_expedited() into synchronize_rcu_expedited()kernel/rcu/tree_exp.h+36 -450 replies
12/12rcu: Discard separate per-CPU callback countsDocumentation/RCU/stallwarn.txt kernel/rcu/tree.c kernel/rcu/tree.h +1 more+21 -750 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/12] RCU flavor consolidation cleanups for v5.1

Hello!

This series contains additional cleanups for RCU flavor consolidation:

1-2. Replace scheduler _sched() APIs with _rcu() counterparts.

3. Renaming and commenting changes due to only one rcuo kthread
per CPU.

4. Make expedited IPI handler return after handling critical section.
This is a maintainability and performance change.

5. Inline force_quiescent_state() into rcu_force_quiescent_state().

6. Eliminate RCU_BH_FLAVOR and RCU_SCHED_FLAVOR.

7. Inline rcu_kthread_do_work() into its sole remaining caller.

8. Determine expedited-GP IPI handler at build time.

9. Consolidate PREEMPT and !PREEMPT synchronize_rcu_expedited().

10. Consolidate PREEMPT and !PREEMPT synchronize_rcu().

11. Inline _synchronize_rcu_expedited() into synchronize_rcu_expedited().

12. Discard separate per-CPU callback counts.

Thanx, Paul

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

 Documentation/RCU/Design/Expedited-Grace-Periods/ExpSchedFlow.svg             |   18 
 Documentation/RCU/Design/Expedited-Grace-Periods/Expedited-Grace-Periods.html |   26 -
 Documentation/RCU/stallwarn.txt                                               |   15 
 kernel/rcu/rcu.h                                                              |    2 
 kernel/rcu/tree.c                                                             |  123 +++--
 kernel/rcu/tree.h                                                             |    9 
 kernel/rcu/tree_exp.h                                                         |  244 ++++------
 kernel/rcu/tree_plugin.h                                                      |  129 -----
 kernel/sched/cpufreq.c                                                        |    4 
 kernel/sched/cpufreq_schedutil.c                                              |    2 
 kernel/sched/sched.h                                                          |    2 
 kernel/sched/topology.c                                                       |    4 
 12 files changed, 237 insertions(+), 341 deletions(-)