[PATCH tip/core/rcu 0/26] Miscellaneous fixes for v5.9

Paul E. McKenney
2020-06-23T00:21:33Z

Hello!

This series provides miscellaneous fixes:

1. Initialize and destroy rcu_synchronize only when necessary,
courtesy of Wei Yang.

2. mm/mmap.c: Add cond_resched() for exit_mmap() CPU stalls.

3. Simplify the calculation of rcu_state.ncpus, courtesy of Wei Yang.

4. Add callbacks-invoked counters.

5. Add comment documenting rcu_callback_map's purpose.

6. events: rcu: Change description of rcu_dyntick trace event,
courtesy of Madhuparna Bhowmik.

7. Grace-period-kthread related sleeps to idle priority.

8. Priority-boost-related sleeps to idle priority.

9. No-CBs-related sleeps to idle priority.

10. Expedited grace-period sleeps to idle priority.

11. fs/btrfs: Add cond_resched() for try_release_extent_mapping()
stalls.

12. Update comment from rsp->rcu_gp_seq to rsp->gp_seq, courtesy
of Lihao Liang.

13. tick/nohz: Narrow down noise while setting current task's tick
dependency, courtesy of Frederic Weisbecker.

14. Fix some kernel-doc warnings, courtesy of Mauro Carvalho Chehab.

15. Remove initialized but unused rnp from check_slow_task().

16. Mark rcu_nmi_enter() call to rcu_cleanup_after_idle() noinstr.

17. Complain only once about RCU in extended quiescent state.

18. Replace 1 with true, courtesy of Jules Irenge.

19. Stop shrinker loop, courtesy of Peter Enderborg.

20. gp_max is protected by root rcu_node's lock, courtesy of Wei Yang.

21. grplo/grphi just records CPU number, courtesy of Wei Yang.

22. grpnum just records group number, courtesy of Wei Yang.

23. kernel/rcu/tree.c: Fix kernel-doc warnings, courtesy of Randy
Dunlap.

24. Fix some kernel-doc warnings, courtesy of Mauro Carvalho Chehab.

25. Remove KCSAN stubs.

26. Remove KCSAN stubs from update.c.

Thanx, Paul

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

fs/btrfs/extent_io.c | 2 ++
include/linux/rculist.h | 2 +-
include/trace/events/rcu.h | 11 ++++++-----
kernel/locking/lockdep.c | 4 +---
kernel/rcu/tree.c | 39 +++++++++++++--------------------------
kernel/rcu/tree.h | 15 ++++++++-------
kernel/rcu/tree_exp.h | 2 +-
kernel/rcu/tree_plugin.h | 4 ++--
kernel/rcu/tree_stall.h | 5 +++--
kernel/rcu/update.c | 28 +++++++++-------------------
kernel/time/tick-sched.c | 22 +++++++++++++++-------
mm/mmap.c | 1 +
12 files changed, 62 insertions(+), 73 deletions(-)