[GIT PULL rcu/next + tools/memory-model] RCU and LKMM commits for 5.2

From: Paul E. McKenney
Date: Thu Apr 18 2019 - 08:39:10 EST


Hello, Ingo,

This pull request contains the following changes:

1. An LKMM commit adding support for synchronize_srcu_expedited().

http://lkml.kernel.org/r/20190326234133.24962-8-paulmck@xxxxxxxxxxxxx

2. A couple of straggling RCU flavor consolidation updates.

http://lkml.kernel.org/r/20190326230011.GA16275@xxxxxxxxxxxxx

3. Documentation updates.

http://lkml.kernel.org/r/20190326230408.GA17069@xxxxxxxxxxxxx

4. Miscellaneous fixes.

http://lkml.kernel.org/r/20190326231253.GA18343@xxxxxxxxxxxxx

5. SRCU updates.

http://lkml.kernel.org/r/20190326231512.GA19843@xxxxxxxxxxxxx

6. RCU CPU stall-warning updates.

http://lkml.kernel.org/r/20190326232208.GA20384@xxxxxxxxxxxxx

7. Torture-test updates.

http://lkml.kernel.org/r/20190326233054.GA21523@xxxxxxxxxxxxx

All of these changes have been subjected to 0day Test Robot and -next
testing, and are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git for-mingo

for you to fetch changes up to 91df49e187c1a111e423fe0c3aec3472980385e4:

Merge LKMM and RCU commits (2019-04-16 07:08:07 -0700)

----------------------------------------------------------------
Akira Yokosawa (1):
rcu: Move common code out of if-else block

Alan Stern (4):
tools/memory-model: Rename some RCU relations
tools/memory-model: Refactor some RCU relations
tools/memory-model: Add SRCU support
tools/memory-model: Update Documentation/explanation.txt to include SRCU support

Andrea Parri (1):
tools/memory-model: Avoid duplicating herdtools versions

Cyrill Gorcunov (1):
rcu: rcu_qs -- Use raise_softirq_irqoff to not save irqs twice

Joel Fernandes (Google) (1):
rcu: Avoid unnecessary softirq when system is idle

Liu Song (1):
rcu: Set rcutree.kthread_prio sysfs access to read-only

Luc Maranget (1):
tools/memory-model: Dynamically check SRCU lock-to-unlock matching

Neeraj Upadhyay (5):
rcu: Fix self-wakeups for grace-period kthread
rcu: Default jiffies_to_sched_qs to jiffies_till_sched_qs
rcu: Do a single rhp->func read in rcu_head_after_call_rcu()
rcu: Fix nohz status in stall warning
rcutorture: Fix expected forward progress duration in OOM notifier

Paul E. McKenney (39):
tools/memory-model: Update README for addition of SRCU
doc: Remove obsolete RCU update functions from RCU documentation
doc: Describe choice of rcu_dereference() APIs and __rcu usage
doc: Fix typos and otherwise modernize checklist.txt
rcu: Unconditionally expedite during suspend/hibernate
rcu: Make exit_rcu() handle non-preempted RCU readers
MAINTAINERS: RCU now has its own email list
MAINTAINERS: Add -rcu branch name ("dev")
rcu: Allow rcu_nocbs= to specify all CPUs
rcu: Report error for bad rcu_nocbs= parameter values
rcu: Update jiffies_to_sched_qs and adjust_jiffies_till_sched_qs() comments
rcu: Eliminate redundant NULL-pointer check
rcu: Fix typo in tree_exp.h comment
rcu: Correct READ_ONCE()/WRITE_ONCE() for ->rcu_read_unlock_special
srcu: Check for in-flight callbacks in _cleanup_srcu_struct()
srcu: Remove cleanup_srcu_struct_quiesced()
rcu: Move RCU CPU stall-warning code out of update.c
rcu: Move RCU CPU stall-warning code out of tree_plugin.h
rcu: Move RCU CPU stall-warning code out of tree.c
rcu: Inline RCU task stall-warning helper functions
rcu: Move rcu_print_task_exp_stall() to tree_exp.h
rcu: Inline RCU stall-warning info helper functions
rcu: Move FAST_NO_HZ stall-warning code to tree_stall.h
rcu: Organize functions in tree_stall.h
rcu: Move irq-disabled stall-warning checking to tree_stall.h
rcu: Move forward-progress checkers into tree_stall.h
torture: Don't try to offline the last CPU
tools/.../rcutorture: Convert to SPDX license identifier
rcutorture: Make rcutorture_extend_mask() comment match the code
rcutorture: Remove ->ext_irq_conflict field
rcutorture: Fix cleanup path for invalid torture_type strings
rcuperf: Fix cleanup path for invalid perf_type strings
locktorture: NULL cxt.lwsa and cxt.lrsa to allow bad-arg detection
torture: Suppress false-positive CONFIG_INITRAMFS_SOURCE complaint
doc/kprobes: Update obsolete RCU update functions
tools/memory-model: Add support for synchronize_srcu_expedited()
net/ipv4/netfilter: Update comment from call_rcu_bh() to call_rcu()
Merge branches 'consolidate.2019.04.09a', 'doc.2019.03.26b', 'fixes.2019.03.26b', 'srcu.2019.03.26b', 'stall.2019.03.26b' and 'torture.2019.03.26b' into HEAD
Merge LKMM and RCU commits

Peter Zijlstra (1):
Documentation/atomic_t: Clarify signed vs unsigned

SeongJae Park (2):
sched/Documentation/kokr: Update Korean translation to update wake_up() & co. memory-barrier guarantees
locking/memory-barriers/kokr: Update Korean translation to replace smp_cond_acquire() with smp_cond_load_acquire()

Tycho Andersen (1):
doc: Repair some whitespace damage

Zhouyi Zhou (1):
rcu: Fix force_qs_rnp() header comment

.../Design/Data-Structures/Data-Structures.html | 3 +-
.../Expedited-Grace-Periods.html | 4 +-
.../Memory-Ordering/Tree-RCU-Memory-Ordering.html | 5 +-
Documentation/RCU/NMI-RCU.txt | 13 +-
Documentation/RCU/UP.txt | 6 +-
Documentation/RCU/checklist.txt | 91 ++-
Documentation/RCU/rcu.txt | 8 +-
Documentation/RCU/rcu_dereference.txt | 103 +++
Documentation/RCU/rcubarrier.txt | 27 +-
Documentation/RCU/whatisRCU.txt | 10 +-
Documentation/admin-guide/kernel-parameters.txt | 4 +-
Documentation/atomic_t.txt | 17 +
Documentation/kprobes.txt | 6 +-
.../translations/ko_KR/memory-barriers.txt | 49 +-
MAINTAINERS | 16 +-
drivers/nvme/host/core.c | 2 +-
include/linux/rcupdate.h | 6 +-
include/linux/srcu.h | 36 +-
kernel/locking/locktorture.c | 2 +
kernel/rcu/rcu.h | 1 +
kernel/rcu/rcuperf.c | 5 +
kernel/rcu/rcutorture.c | 21 +-
kernel/rcu/srcutiny.c | 9 +-
kernel/rcu/srcutree.c | 32 +-
kernel/rcu/tiny.c | 2 +-
kernel/rcu/tree.c | 508 +--------------
kernel/rcu/tree.h | 14 +-
kernel/rcu/tree_exp.h | 36 +-
kernel/rcu/tree_plugin.h | 257 +-------
kernel/rcu/tree_stall.h | 709 +++++++++++++++++++++
kernel/rcu/update.c | 59 +-
kernel/torture.c | 2 +
net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
tools/memory-model/Documentation/explanation.txt | 289 +++++----
tools/memory-model/README | 33 +-
tools/memory-model/linux-kernel.bell | 35 +-
tools/memory-model/linux-kernel.cat | 39 +-
tools/memory-model/linux-kernel.def | 6 +
tools/memory-model/lock.cat | 3 -
.../selftests/rcutorture/bin/configNR_CPUS.sh | 17 +-
.../selftests/rcutorture/bin/config_override.sh | 17 +-
.../selftests/rcutorture/bin/configcheck.sh | 19 +-
.../testing/selftests/rcutorture/bin/configinit.sh | 17 +-
tools/testing/selftests/rcutorture/bin/cpus2use.sh | 17 +-
.../testing/selftests/rcutorture/bin/functions.sh | 17 +-
tools/testing/selftests/rcutorture/bin/jitter.sh | 17 +-
.../testing/selftests/rcutorture/bin/kvm-build.sh | 17 +-
.../selftests/rcutorture/bin/kvm-find-errors.sh | 5 +
.../selftests/rcutorture/bin/kvm-recheck-lock.sh | 17 +-
.../selftests/rcutorture/bin/kvm-recheck-rcu.sh | 17 +-
.../rcutorture/bin/kvm-recheck-rcuperf-ftrace.sh | 17 +-
.../rcutorture/bin/kvm-recheck-rcuperf.sh | 17 +-
.../selftests/rcutorture/bin/kvm-recheck.sh | 17 +-
.../selftests/rcutorture/bin/kvm-test-1-run.sh | 17 +-
tools/testing/selftests/rcutorture/bin/kvm.sh | 17 +-
tools/testing/selftests/rcutorture/bin/mkinitrd.sh | 15 +-
.../selftests/rcutorture/bin/parse-build.sh | 17 +-
.../selftests/rcutorture/bin/parse-console.sh | 17 +-
.../rcutorture/configs/lock/ver_functions.sh | 17 +-
.../rcutorture/configs/rcu/ver_functions.sh | 17 +-
.../rcutorture/configs/rcuperf/ver_functions.sh | 17 +-
61 files changed, 1374 insertions(+), 1458 deletions(-)
create mode 100644 kernel/rcu/tree_stall.h