Skip to content

Miscellaneous fixes for v4.18

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22sched: Make non-production PREEMPT cond_resched() help Tasks RCUinclude/linux/sched.h+6 -08 replies
2/22rcu: Inline rcu_preempt_do_callback() into its sole callerkernel/rcu/tree.h kernel/rcu/tree_plugin.h+1 -110 replies
3/22rcu: Don't allocate rcu_nocb_mask if no one needs itkernel/rcu/tree_plugin.h+2 -20 replies
4/22rcu: Call wake_nocb_leader_defer() with 'FORCE' when nocb_q_count is highkernel/rcu/tree_plugin.h+1 -10 replies
5/22rcu: Remove deprecated RCU debugfs tracing codekernel/rcu/tree.h kernel/rcu/tree_exp.h+5 -120 replies
6/22rcu: Rename cond_resched_rcu_qs() to cond_resched_tasks_rcu_qs()include/linux/rcupdate.h kernel/rcu/rcuperf.c kernel/rcu/tree.c +4 more+19 -194 replies
7/22softirq: Eliminate unused cond_resched_softirq() macroinclude/linux/sched.h kernel/sched/core.c kernel/softirq.c+1 -243 replies
8/22rcu: Move __rcu_read_lock() and __rcu_read_unlock() to tree_plugin.hkernel/rcu/tree_plugin.h kernel/rcu/update.c+44 -480 replies
9/22rcu: Update rcu_bind_gp_kthread() header commentkernel/rcu/tree_plugin.h+1 -20 replies
10/22rcu: Declare rcu_eqs_special_set() in public headerinclude/linux/rcutree.h kernel/rcu/tree.h+1 -10 replies
11/22srcu: Add cleanup_srcu_struct_quiesced()include/linux/srcu.h kernel/rcu/rcutorture.c kernel/rcu/srcutiny.c +1 more+64 -180 replies
12/22nvme: Avoid flush dependency in delete controller flowdrivers/nvme/host/core.c+1 -10 replies
13/22rcu: Exclude near-simultaneous RCU CPU stall warningskernel/rcu/tree.c+11 -41 reply
14/22rcu: Add leaf-node macroskernel/rcu/rcu.h kernel/rcu/tree.c kernel/rcu/tree_plugin.h+12 -70 replies
15/22doc: Ensure whatisRCU.txt actually says what RCU isDocumentation/RCU/whatisRCU.txt+2 -00 replies
16/22EXP: rcu: Add debugging info to assertionkernel/rcu/tree.c+16 -11 reply
17/22EXP: rcu: Abstract addition of debugging information to assertionkernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_plugin.h+32 -160 replies
18/22EXP: rcu: Add ->boost_tasks to assertionkernel/rcu/tree_plugin.h+1 -10 replies
19/22EXP: rcu: Add debugging info to other assertionkernel/rcu/tree_plugin.h+2 -10 replies
20/22EXP rcu: Add ->qsmask to assertionkernel/rcu/tree_plugin.h+1 -10 replies
21/22EXP rcu: Add checks for setting ->gp_flagskernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_plugin.h+8 -10 replies
22/22rcu: Use the proper lockdep annotation in dump_blkd_tasks()kernel/rcu/tree_plugin.h+1 -10 replies

Reviews trailers per patch

4 of 22 patches have a Reviewed-by or Acked-by.

PatchSteven Rostedt (VMware)Max GurtovoyNitzan CarmiByungchul ParkPeter Zijlstra (Intel)Eric Dumazet
1/22
2/22R-b
3/22A-b
4/22
5/22
6/22
7/22A-b R-b
8/22
9/22
10/22
11/22T-b
12/22R-b
13/22
14/22
15/22
16/22
17/22
18/22
19/22
20/22
21/22
22/22

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/22] Miscellaneous fixes for v4.18

Hello!

This series provides miscellaneous fixes:

1. Make non-production PREEMPT cond_resched() help Tasks RCU.

2. Inline rcu_preempt_do_callback() into its sole caller, courtesy
of Byungchul Park.

3. Don't allocate rcu_nocb_mask if no one needs it, for example, in
the case where there are no no-CBs CPUs.

4. Call wake_nocb_leader_defer() with 'FORCE' when nocb_q_count is
high, courtesy of Byungchul Park.

5. Remove deprecated RCU debugfs tracing code, courtesy of Byungchul
Park.

6. Rename cond_resched_rcu_qs() to cond_resched_tasks_rcu_qs() in
order to reflect its actual current use case.

7. Eliminate unused cond_resched_softirq() macro.

8. Move __rcu_read_lock() and __rcu_read_unlock() to tree_plugin.h.

9. Update rcu_bind_gp_kthread() header comment.

10. Declare rcu_eqs_special_set() in public header, courtesy of
Yury Norov.

11. Add cleanup_srcu_struct_quiesced().

12. Avoid flush dependency in delete controller flow, which is
included in this series due to its need for the shiny new cleanup_srcu_struct_quiesced() function.

13. Exclude near-simultaneous RCU CPU stall warnings.

14. Add leaf-node macros to simplify code.

15. Ensure whatisRCU.txt actually says what RCU is, courtesy of
Paul Gortmaker.

16-21: Debugging commits that may or may not be submitted for inclusion,
depending on how helpful they prove to be.

22: Use the proper lockdep annotation in dump_blkd_tasks(),
courtesy of Boqun Feng.

Thanx, Paul

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

 Documentation/RCU/whatisRCU.txt |    2 
 drivers/nvme/host/core.c        |    2 
 include/linux/rcupdate.h        |    4 -
 include/linux/rcutree.h         |    1 
 include/linux/sched.h           |   14 ++--
 include/linux/srcu.h            |   36 ++++++++++++
 kernel/rcu/rcu.h                |   11 ++-
 kernel/rcu/rcuperf.c            |    2 
 kernel/rcu/rcutorture.c         |    7 ++
 kernel/rcu/srcutiny.c           |    9 ++-
 kernel/rcu/srcutree.c           |   30 +++++-----
 kernel/rcu/tree.c               |   76 ++++++++++++++------------
 kernel/rcu/tree.h               |    8 --
 kernel/rcu/tree_exp.h           |   13 +---
 kernel/rcu/tree_plugin.h        |  116 +++++++++++++++++++++++++++++++---------
 kernel/rcu/update.c             |   50 -----------------
 kernel/sched/core.c             |   14 ----
 kernel/softirq.c                |    3 -
 kernel/torture.c                |    2 
 kernel/trace/trace_benchmark.c  |    4 -
 20 files changed, 232 insertions(+), 172 deletions(-)