[PATCH tip/core/rcu 0/19] Miscellaneous fixes for v5.14

From: Paul E. McKenney
Date: Tue May 11 2021 - 18:52:51 EST


Hello!

This series contains miscellaneous fixes, perhaps most notably the
rescusitation of RCU priority boosting.

1. Fix typo in comment: kthead -> kthread, courtesy of Rolf Eike
Beer.

2. Remove the unused rcu_irq_exit_preempt() function.

3. Improve tree.c comments and add code cleanups, courtesy of
Zhouyi Zhou.

4. Invoke rcu_spawn_core_kthreads() from rcu_spawn_gp_kthread().

5. Add ->rt_priority and ->gp_start to show_rcu_gp_kthreads() output.

6. Add ->gp_max to show_rcu_gp_kthreads() output.

7. Explicitly flag likely false-positive report.

8. Reject RCU_LOCKDEP_WARN() false positives.

9. Add quiescent states and boost states to show_rcu_gp_kthreads()
output.

10. Make RCU priority boosting work on single-CPU rcu_node structures.

11. Make show_rcu_gp_kthreads() dump rcu_node structures blocking GP.

12. Restrict RCU_STRICT_GRACE_PERIOD to at most four CPUs.

13. Make rcu_gp_cleanup() be noinline for tracing.

14. Point to documentation of ordering guarantees.

15. Create an unrcu_pointer() to remove __rcu from a pointer.

16. reconcile rcu_nocbs= and nohz_full=, courtesy of Paul Gortmaker.

17. Improve comments describing RCU read-side critical sections.

18. Remove obsolete rcu_read_unlock() deadlock commentary.

19. Add missing __releases() annotation, courtesy of Jules Irenge.

Thanx, Paul

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

b/include/linux/rcupdate.h | 2 -
b/include/linux/rcutiny.h | 1
b/include/linux/rcutree.h | 1
b/kernel/locking/lockdep.c | 6 ++-
b/kernel/rcu/Kconfig.debug | 2 -
b/kernel/rcu/srcutree.c | 3 +
b/kernel/rcu/tree.c | 22 ------------
b/kernel/rcu/tree.h | 1
b/kernel/rcu/tree_plugin.h | 2 -
b/kernel/rcu/tree_stall.h | 8 ++--
b/kernel/rcu/update.c | 2 -
b/kernel/sched/isolation.c | 4 --
b/mm/oom_kill.c | 2 -
include/linux/rcupdate.h | 82 ++++++++++++++++++++++++++-------------------
kernel/rcu/tree.c | 74 +++++++++++++++++++++++++---------------
kernel/rcu/tree.h | 2 -
kernel/rcu/tree_plugin.h | 30 ++++------------
kernel/rcu/tree_stall.h | 21 ++++++++---
18 files changed, 138 insertions(+), 127 deletions(-)