[PATCH tip/core/rcu 0/20] Miscellaneous fixes for 4.11

Paul E. McKenney
2017-01-14T09:13:06Z

Hello!

This series provides miscellaneous fixes:

1. Make RCU_EXPEDITE_BOOT be the default in order to speed up
boot, courtesy of Sebastian Andrzej Siewior.

2. Make RCU suspicious-access lockdep splats use pr_err().

3. Disable sys_membarrier when nohz_full is enabled, courtesy
of Mathieu Desnoyers.

4. Only dump stalled-tasks stacks if there was a real stall, courtesy
of Byungchul Park.

5. Remove unneeded rcu_process_callbacks() declarations.

6. Remove unused but set "mask" variable, courtesy of Tobias Klauser.

7. Remove short-term CPU kicking.

8. Add long-term CPU kicking.

9. Once again use NMI-based stack traces in stall warnings.

10. Add functions to test for trivial grace periods.

11. Make cond_resched() provide RCU quiescent state, which will
hopefully lead to the removal of cond_resched_rcu_qs().

12. Re-enable TASKS_RCU for User Mode Linux.

13. Don't wake rcuc/X kthreads on NOCB CPUs.

14. Add comment headers to expedited-grace-period counter functions.

15. Make rcu_cpu_starting() use its "cpu" argument.

16. Enable RCU tracepoints by default to aid in debugging, courtesy
of Matt Fleming.

17. Fix comment in rcu_organize_nocb_kthreads(), which no longer
spawns kthreads.

18. Clarify comments about when llist locking is needed, courtesy
of Joel Fernandes.

19. Eliminate unused expedited_normal counter.

20. Add lockdep checks to synchronous expedited primitives.

Thanx, Paul

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

Documentation/RCU/trace.txt | 5 ---
include/linux/llist.h | 37 +++++++++++++++-----------
include/linux/rcupdate.h | 8 +++++
include/linux/rcutiny.h | 10 +++++++
include/linux/rcutree.h | 2 +
include/linux/sched.h | 3 +-
init/Kconfig | 14 ----------
kernel/locking/lockdep.c | 12 ++++----
kernel/membarrier.c | 4 ++
kernel/rcu/tiny.c | 2 -
kernel/rcu/tree.c | 61 +++++++++++++++++++++++++++++++-------------
kernel/rcu/tree.h | 1
kernel/rcu/tree_exp.h | 28 +++++++++++++++++++-
kernel/rcu/tree_plugin.h | 16 ++++++++++-
kernel/rcu/tree_trace.c | 3 --
kernel/rcu/update.c | 6 +---
kernel/sched/core.c | 1
lib/Kconfig.debug | 1
18 files changed, 143 insertions(+), 71 deletions(-)