[GIT PULL] RCU changes for v5.7

From: Ingo Molnar
Date: Mon Mar 30 2020 - 09:33:07 EST


Linus,

Please pull the latest core-rcu-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-rcu-for-linus

# HEAD: baf5fe761846815164753d1bd0638fd3696db8fd Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/rcu

The main changes in this cycle were:

- Make kfree_rcu() use kfree_bulk() for added performance
- RCU updates
- Callback-overload handling updates
- Tasks-RCU KCSAN and sparse updates
- Locking torture test and RCU torture test updates
- Documentation updates
- Miscellaneous fixes

Thanks,

Ingo

------------------>
Amol Grover (1):
rculist: Add brackets around cond argument in __list_check_rcu macro

Colin Ian King (1):
rcu: Fix spelling mistake "leval" -> "level"

Eric Dumazet (1):
timer: Use hlist_unhashed_lockless() in timer_pending()

Joel Fernandes (Google) (2):
rcuperf: Measure memory footprint during kfree_rcu() test
doc: Add some more RCU list patterns in the kernel

Jules Irenge (4):
rcu: Add missing annotation for rcu_nocb_bypass_lock()
rcu/nocb: Add missing annotation for rcu_nocb_bypass_unlock()
rcu: Add missing annotation for exit_tasks_rcu_start()
rcu: Add missing annotation for exit_tasks_rcu_finish()

Madhuparna Bhowmik (1):
nfs: Fix nfs_access_get_cached_rcu() sparse error

Paul E. McKenney (54):
rcu: Warn on for_each_leaf_node_cpu_mask() from non-leaf
rcu: Fix exp_funnel_lock()/rcu_exp_wait_wake() datarace
rcu: Provide debug symbols and line numbers in KCSAN runs
rcu: Add WRITE_ONCE() to rcu_node ->qsmask update
rcu: Add WRITE_ONCE to rcu_node ->exp_seq_rq store
rcu: Add READ_ONCE() to rcu_node ->gp_seq
rcu: Add WRITE_ONCE() to rcu_state ->gp_req_activity
rcu: Add WRITE_ONCE() to rcu_node ->qsmaskinitnext
locking/rtmutex: rcu: Add WRITE_ONCE() to rt_mutex ->owner
rcu: Add READ_ONCE() to rcu_segcblist ->tails[]
rcu: Add *_ONCE() for grace-period progress indicators
rcu: Add READ_ONCE() to rcu_data ->gpwrap
rcu: Add *_ONCE() to rcu_data ->rcu_forced_tick
rcu: Add *_ONCE() to rcu_node ->boost_kthread_status
rcu: Remove dead code from rcu_segcblist_insert_pend_cbs()
rcu: Add WRITE_ONCE() to rcu_state ->gp_start
rcu: Fix rcu_barrier_callback() race condition
rcu: Don't flag non-starting GPs before GP kthread is running
rcu: Optimize and protect atomic_cmpxchg() loop
rcu: Tighten rcu_lockdep_assert_cblist_protected() check
rcu: Make nocb_gp_wait() double-check unexpected-callback warning
locktorture: Print ratio of acquisitions, not failures
locktorture: Allow CPU-hotplug to be disabled via --bootargs
locktorture: Use private random-number generators
locktorture: Forgive apparent unfairness if CPU hotplug
rcu: Clear ->core_needs_qs at GP end or self-reported QS
rcu: React to callback overload by aggressively seeking quiescent states
rcu: React to callback overload by boosting RCU readers
rcu: Update __call_rcu() comments
rcu-tasks: *_ONCE() for rcu_tasks_cbs_head
srcu: Fix __call_srcu()/process_srcu() datarace
srcu: Fix __call_srcu()/srcu_get_delay() datarace
srcu: Fix process_srcu()/srcu_batches_completed() datarace
srcu: Hold srcu_struct ->lock when updating ->srcu_gp_seq
rcutorture: Suppress forward-progress complaints during early boot
torture: Make results-directory date format completion-friendly
rcutorture: Refrain from callback flooding during boot
torture: Forgive -EBUSY from boottime CPU-hotplug operations
rcutorture: Allow boottime stall warnings to be suppressed
rcutorture: Suppress boottime bad-sequence warnings
torture: Allow disabling of boottime CPU-hotplug torture operations
rcutorture: Add 100-CPU configuration
rcutorture: Summarize summary of build and run results
rcutorture: Make kvm-find-errors.sh abort on bad directory
rcutorture: Fix rcu_torture_one_read()/rcu_torture_writer() data race
rcutorture: Fix stray access to rcu_fwd_cb_nodelay
rcutorture: Add READ_ONCE() to rcu_torture_count and rcu_torture_batch
rcutorture: Annotation lockless accesses to rcu_torture_current
rcutorture: Make rcu_torture_barrier_cbs() post from corresponding CPU
rcutorture: Manually clean up after rcu_barrier() failure
rcutorture: Set KCSAN Kconfig options to detect more data races
doc: Add rcutorture scripting to torture.txt
rcu: Mark rcu_state.gp_seq to detect concurrent writes
rcu: Make rcu_barrier() account for offline no-CBs CPUs

SeongJae Park (8):
rcu: Fix typos in file-header comments
doc/RCU/Design: Remove remaining HTML tags in ReST files
doc/RCU/listRCU: Fix typos in a example code snippets
doc/RCU/listRCU: Update example function name
doc/RCU/rcu: Use ':ref:' for links to other docs
doc/RCU/rcu: Use absolute paths for non-rst files
doc/RCU/rcu: Use https instead of http if possible
Documentation/memory-barriers: Fix typos

Uladzislau Rezki (Sony) (2):
rcu: Support kfree_bulk() interface in kfree_rcu()
rcu: Add a trace event for kfree_rcu() use of kfree_bulk()


.../Memory-Ordering/Tree-RCU-Memory-Ordering.rst | 8 +-
Documentation/RCU/listRCU.rst | 281 ++++++++++---
Documentation/RCU/rcu.rst | 18 +-
Documentation/RCU/torture.txt | 147 ++++++-
Documentation/admin-guide/kernel-parameters.txt | 19 +
Documentation/memory-barriers.txt | 8 +-
fs/nfs/dir.c | 2 +-
include/linux/rculist.h | 4 +-
include/linux/rcutiny.h | 1 +
include/linux/rcutree.h | 1 +
include/linux/timer.h | 2 +-
include/trace/events/rcu.h | 29 ++
kernel/locking/locktorture.c | 15 +-
kernel/locking/rtmutex.c | 2 +-
kernel/rcu/Makefile | 4 +
kernel/rcu/rcu.h | 23 +-
kernel/rcu/rcu_segcblist.c | 4 +-
kernel/rcu/rcuperf.c | 14 +-
kernel/rcu/rcutorture.c | 67 ++-
kernel/rcu/srcutree.c | 18 +-
kernel/rcu/tree.c | 452 +++++++++++++++------
kernel/rcu/tree.h | 4 +
kernel/rcu/tree_exp.h | 13 +-
kernel/rcu/tree_plugin.h | 25 +-
kernel/rcu/tree_stall.h | 41 +-
kernel/rcu/update.c | 28 +-
kernel/time/timer.c | 7 +-
kernel/torture.c | 29 +-
.../testing/selftests/rcutorture/bin/functions.sh | 2 +-
.../selftests/rcutorture/bin/kvm-find-errors.sh | 2 +
.../selftests/rcutorture/bin/kvm-recheck.sh | 17 +-
tools/testing/selftests/rcutorture/bin/kvm.sh | 2 +-
.../selftests/rcutorture/configs/rcu/CFcommon | 2 +
.../selftests/rcutorture/configs/rcu/TREE10 | 18 +
34 files changed, 1015 insertions(+), 294 deletions(-)
create mode 100644 tools/testing/selftests/rcutorture/configs/rcu/TREE10