Skip to content

Miscellaneous fixes for 4.6

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13rcu: Assign false instead of 0 for ->core_needs_qskernel/rcu/tree.c+1 -10 replies
2/13rcu: Update rcu_report_qs_rsp() commentkernel/rcu/tree.c+7 -50 replies
3/13rcu: Stop treating in-kernel CPU-bound workloads as errorskernel/rcu/tree.c+7 -62 replies
4/13rcu: Set rdp->gpwrap when CPU is idlekernel/rcu/tree.c+2 -30 replies
5/13rcutorture: Correct no-expedite console messageskernel/rcu/rcutorture.c+8 -60 replies
6/13rcu: Remove useless rcu_data_p when !PREEMPT_RCUkernel/rcu/tree.c kernel/rcu/tree_plugin.h+0 -20 replies
7/13sparse: Add __private to privatize members of structsinclude/linux/compiler.h scripts/checkpatch.pl+10 -50 replies
8/13RCU: Privatize rcu_node::lockkernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_plugin.h+96 -750 replies
9/13irq: Privatize irq_common_data::state_use_accessorsinclude/linux/irq.h kernel/irq/internals.h+8 -20 replies
10/13rcu: Make rcu/tiny_plugin.h explicitly non-modularkernel/rcu/tiny_plugin.h+2 -130 replies
11/13rcu: Document unique-name limitation for DEFINE_STATIC_SRCU()include/linux/srcu.h+17 -20 replies
12/13rcu: Catch up rcu_report_qs_rdp() comment with realitykernel/rcu/tree.c+1 -60 replies
13/13rcu: Remove rcu_user_hooks_switchinclude/linux/rcupdate.h+0 -20 replies

Reviews trailers per patch

3 of 13 patches have a Reviewed-by or Acked-by.

PatchThomas GleixnerFrederic WeisbeckerTejun Heo
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13R-b
10/13
11/13R-b
12/13
13/13A-b

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

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/13] Miscellaneous fixes for 4.6

Hello!

This series contains miscellaneous fixes for 4.6:

1. rcu: Assign false instead of 0 for ->core_needs_qs

2. Update rcu_report_qs_rsp() comment for RCU's grace-period kthreads.

3. Stop treating in-kernel CPU-bound workloads as errors, and stop
IPIing such CPUs unless it is necessary. (If the loop contains cond_resched_rcu_qs(), then it is not necessary!)

4. Set rdp->gpwrap when CPU is idle instead of doing it backwards.

5. Correct no-expedite console messages.

6. Remove useless rcu_data_p when !PREEMPT_RCU, courtesy of Chen Gang.

7-9. Allow fields to be marked private to allow sparse to complain
about unauthorized access for rcu_node:: lock and irq_common_data::state_use_accessors, courtesy of Boqun Feng.

10. Make rcu/tiny_plugin.h explicitly non-modular, courtesy of
Paul Gortmaker.

11. Document unique-name limitation for DEFINE_STATIC_SRCU(),
which results from the same per-CPU variable limitation.

12. Catch up rcu_report_qs_rdp() comment with reality.

13. Remove rcu_user_hooks_switch, courtesy of Yang Shi.

Thanx, Paul

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

 include/linux/compiler.h |   12 ++-
 include/linux/irq.h      |    6 +
 include/linux/rcupdate.h |    2 
 include/linux/srcu.h     |   19 +++++-
 kernel/irq/internals.h   |    4 +
 kernel/rcu/rcutorture.c  |   14 ++--
 kernel/rcu/tiny_plugin.h |   15 ----
 kernel/rcu/tree.c        |  143 +++++++++++++++++++++++------------------------
 kernel/rcu/tree.h        |   42 ++++++++++---
 kernel/rcu/tree_plugin.h |   27 ++++----
 scripts/checkpatch.pl    |    3 
 11 files changed, 159 insertions(+), 128 deletions(-)