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

From: Paul E. McKenney
Date: Wed Jan 09 2019 - 16:18:49 EST


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(-)