Skip to content

rcutorture changes for 3.20

Paul E. McKenney lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12rcutorture: Issue warnings on close calls due to Reader Batch blowstools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh+18 -00 replies
2/12rcu: Make _batches_completed() functions return unsigned longinclude/linux/rcutiny.h include/linux/rcutree.h kernel/rcu/tree.c +2 more+11 -110 replies
3/12rcutorture: Make build-output parsing correctly flag RCU's warningstools/testing/selftests/rcutorture/bin/parse-build.sh+13 -70 replies
4/12rcutorture: Use unsigned for Reader Batch computationskernel/rcu/rcutorture.c+9 -90 replies
5/12rcu: provide rcu_batches_completed_sched() for TINY_RCUinclude/linux/rcutiny.h+8 -00 replies
6/12rcutorture: Drop rcu_torture_completed() and friendskernel/rcu/rcutorture.c+3 -130 replies
7/12rcu: Remove redundant rcu_batches_completed() declarationkernel/rcu/tree.h+0 -10 replies
8/12rcutorture: Check from beginning to end of grace periodinclude/linux/rcutiny.h include/linux/rcutree.h kernel/rcu/rcutorture.c +2 more+95 -430 replies
9/12rcutorture: Handle different mpstat versionstools/testing/selftests/rcutorture/bin/cpus2use.sh+1 -10 replies
10/12torture: Add "-enable-kvm -soundhw pcspk" to qemu command linetools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh+4 -40 replies
11/12torture: Flag console.log file to prevent holdovers from earlier runstools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh+1 -00 replies
12/12rcutorture: Add more diagnostics in rcu_barrier() test failure casekernel/rcu/rcutorture.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/12] rcutorture changes for 3.20

Hello!

This series contains rcutorture updates for 3.20:

1. Issue warnings on close calls due to Reader Batch blows.
This diagnostic would have spotted the ugly preemptible-RCU CPU-hotplug bug some years back.

2. Make _batches_completed() functions return unsigned long to
avoid signed overflow issues.

3. Make build-output parsing correctly flag RCU's warnings.
These needed to be updated when the "rcu" directory was created in "kernel."

4. Use unsigned long for Reader Batch computations, avoiding
signed overflow.

5. Provide rcu_batches_completed_sched() for TINY_RCU for new
rcutorture compatibility.

6. Drop rcu_torture_completed() and friends. Now that the types
match, the wrappers aren't needed.

7. Remove redundant rcu_batches_completed() declaration.

8. Check from beginning to end of grace period instead of from
end of previous grace period to end of next one. This makes rcutorture more sensitive to RCU bugs that make the grace period too short.

9. Handle different mpstat versions -- new versions added fields.

10. torture: Add "-enable-kvm -soundhw pcspk" to qemu command line,
as newer versions of qemu complain if they are missing.

11. Flag console.log file to prevent holdovers from earlier runs,
which could make a run look successful when it didn't even get to the point of starting qemu.

12. Add more diagnostics in rcu_barrier() test failure case.

Thanx, Paul

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

 b/include/linux/rcutiny.h                                   |   42 ++++++
 b/include/linux/rcutree.h                                   |    9 -
 b/kernel/rcu/rcutorture.c                                   |   74 ++++++------
 b/kernel/rcu/tree.c                                         |   44 ++++++-
 b/kernel/rcu/tree.h                                         |    3 
 b/kernel/rcu/tree_plugin.h                                  |   34 -----
 b/tools/testing/selftests/rcutorture/bin/cpus2use.sh        |    2 
 b/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh |   18 ++
 b/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh  |    9 -
 b/tools/testing/selftests/rcutorture/bin/parse-build.sh     |   20 ++-
 10 files changed, 166 insertions(+), 89 deletions(-)