Skip to content

Additional RCU-consolidation cleanups for v4.20/v5.0

Paul E. McKenney lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24rcu: Inline increment_cpu_stall_ticks() into its sole callerkernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_plugin.h+1 -80 replies
2/24rcu: Pull rcu_gp_kthread() FQS loop into separate functionkernel/rcu/tree.c+66 -590 replies
3/24rcu: Consolidate RCU-bh update-side function definitionsinclude/linux/rcupdate.h include/linux/rcutiny.h include/linux/rcutree.h +1 more+22 -460 replies
4/24rcu: Consolidate RCU-sched update-side function definitionsinclude/linux/rcupdate.h include/linux/rcutiny.h include/linux/rcutree.h +1 more+32 -1050 replies
5/24rcutorture: Add RCU-bh and RCU-sched support for extended readerskernel/rcu/rcutorture.c+22 -100 replies
6/24rcu: Stop testing RCU-bh and RCU-schedDocumentation/admin-guide/kernel-parameters.txt kernel/rcu/update.c tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot +5 more+3 -530 replies
7/24rcutorture: Remove the "rcu_bh" and "sched" torture typeskernel/rcu/rcutorture.c+3 -860 replies
8/24rcuperf: Remove the "rcu_bh" and "sched" torture typeskernel/rcu/rcuperf.c+2 -630 replies
9/24rcu: Remove now-unused rcutorture APIskernel/rcu/rcu.h kernel/rcu/tree.c+0 -570 replies
10/24rcu: Clean up flavor-related definitions and comments in rcupdate.hinclude/linux/rcupdate.h+12 -150 replies
11/24rcu: Clean up flavor-related definitions and comments in rculist.hinclude/linux/rculist.h+15 -170 replies
12/24rcu: Clean up flavor-related definitions and comments in rcupdate_wait.hinclude/linux/rcupdate_wait.h+7 -70 replies
13/24rcu: Clean up flavor-related definitions and comments in Kconfigkernel/rcu/Kconfig+10 -100 replies
14/24rcu: Clean up flavor-related definitions and comments in rcu.hkernel/rcu/rcu.h+10 -80 replies
15/24rcu: Clean up flavor-related definitions and comments in rcutorture.ckernel/rcu/rcutorture.c+2 -20 replies
16/24rcu: Clean up flavor-related definitions and comments in srcutree.hkernel/rcu/srcutree.c+1 -10 replies
17/24rcu: Clean up flavor-related definitions and comments in tiny.ckernel/rcu/tiny.c+5 -50 replies
18/24rcu: Clean up flavor-related definitions and comments in tree.ckernel/rcu/tree.c+32 -420 replies
19/24rcu: Clean up flavor-related definitions and comments in tree_exp.hkernel/rcu/tree_exp.h+11 -110 replies
20/24rcu: Clean up flavor-related definitions and comments in tree_plugin.hkernel/rcu/tree_plugin.h+17 -190 replies
21/24rcu: Clean up flavor-related definitions and comments in update.ckernel/rcu/update.c+10 -100 replies
22/24rcu: Remove !PREEMPT code from rcu_note_voluntary_context_switch()include/linux/rcupdate.h+2 -60 replies
23/24rcu: Define rcu_all_qs() only in !PREEMPT buildsinclude/linux/rcutree.h kernel/rcu/tree.c kernel/rcu/tree_plugin.h+42 -400 replies
24/24rcu: Inline _rcu_barrier() into its sole remaining callerinclude/trace/events/rcu.h kernel/rcu/tree.c kernel/rcu/tree.h +1 more+39 -450 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/24] Additional RCU-consolidation cleanups for v4.20/v5.0

Hello!

This series contains yet more cleanups for RCU flavor consolidation:

1. Inline the now-trivial increment_cpu_stall_ticks() into its sole
caller.

2. Pull the rcu_gp_kthread() function's force-quiescent-state loop
into a separate function

3. Consolidate RCU-bh update-side function definitions, putting
them all in one place at the end of rcupdate.h.

4. Consolidate RCU-sched update-side function definitions, putting
them all in one place at the end of rcupdate.h.

5. Add RCU-bh and RCU-sched support for extended readers, so that
rcutorture will mix and match all RCU read-side primitives.

6. Stop testing RCU-bh and RCU-sched.

7-8. Remove the "rcu_bh" and "sched" torture types.

9. Remove now-unused rcutorture APIs.

10-21. Clean up flavor-related definitions and comments.

22. Remove !PREEMPT code from rcu_note_voluntary_context_switch(),
since it now has meaning only in PREEMPT kernels.

23. Define rcu_all_qs() only in !PREEMPT builds, since that is
now the only place it is used.

24. Inline _rcu_barrier() into its sole remaining caller.

Thanx, Paul

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

 Documentation/admin-guide/kernel-parameters.txt            |    6 
 include/linux/rculist.h                                    |   32 -
 include/linux/rcupdate.h                                   |  100 ++-
 include/linux/rcupdate_wait.h                              |   14 
 include/linux/rcutiny.h                                    |   47 -
 include/linux/rcutree.h                                    |   28 
 include/trace/events/rcu.h                                 |   20 
 kernel/rcu/Kconfig                                         |   20 
 kernel/rcu/rcu.h                                           |   28 
 kernel/rcu/rcuperf.c                                       |   65 --
 kernel/rcu/rcutorture.c                                    |  125 ---
 kernel/rcu/srcutree.c                                      |    2 
 kernel/rcu/tiny.c                                          |   10 
 kernel/rcu/tree.c                                          |  414 +++----------
 kernel/rcu/tree.h                                          |    5 
 kernel/rcu/tree_exp.h                                      |   22 
 kernel/rcu/tree_plugin.h                                   |   83 +-
 kernel/rcu/update.c                                        |   58 -
 tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot |    2 
 tools/testing/selftests/rcutorture/configs/rcu/TREE01.boot |    2 
 tools/testing/selftests/rcutorture/configs/rcu/TREE04.boot |    2 
 tools/testing/selftests/rcutorture/configs/rcu/TREE05.boot |    2 
 tools/testing/selftests/rcutorture/configs/rcu/TREE06.boot |    2 
 tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot |    2 
 24 files changed, 366 insertions(+), 725 deletions(-)