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

From: Paul E. McKenney
Date: Wed Feb 24 2016 - 00:12:33 EST


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