Skip to content

Torture-test changes for v4.20/v5.0

Paul E. McKenney lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17torture: Stop overwriting Make.out file with obsolete versiontools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh+0 -10 replies
2/17rcutorture: Force occasional reader waitskernel/rcu/rcutorture.c+5 -00 replies
3/17rcutorture: Warn on bad torture type for built-in testskernel/rcu/rcutorture.c+1 -00 replies
4/17rcuperf: Warn on bad perf type for built-in testskernel/rcu/rcuperf.c+1 -00 replies
5/17rcutorture: Remove TREE06 and TREE08 from the default test listtools/testing/selftests/rcutorture/configs/rcu/CFLIST+0 -20 replies
6/17rcutorture: Add forward-progress tests for RCU grace periodsinclude/linux/rcutiny.h kernel/rcu/rcutorture.c kernel/rcu/update.c+74 -10 replies
7/17rcutorture: Also use GP sequence to judge forward progresskernel/rcu/rcutorture.c+7 -40 replies
8/17rcutorture: Avoid no-test complaint if too few forward-progress trieskernel/rcu/rcutorture.c+4 -10 replies
9/17rcutorture: Vary forward-progress test intervalkernel/rcu/rcutorture.c+6 -10 replies
10/17rcutorture: Add self-propagating callback to forward-progress testingkernel/rcu/rcutorture.c+36 -00 replies
11/17rcutorture: Increase rcu_read_delay() longdelay_mskernel/rcu/rcutorture.c+1 -10 replies
12/17rcutorture: Limit reader duration if irq or bh disabledkernel/rcu/rcutorture.c+3 -10 replies
13/17rcutorture: Reduce priority of forward-progress testingkernel/rcu/rcutorture.c+2 -00 replies
14/17rcutorture: Adjust number of reader kthreads per CPU-hotplug operationskernel/rcu/rcutorture.c+6 -20 replies
15/17rcutorture: Print forward-progress test interval on errorkernel/rcu/rcutorture.c+9 -50 replies
16/17rcutorture: Check GP completion at stutter endinclude/linux/torture.h kernel/rcu/rcutorture.c kernel/torture.c+7 -30 replies
17/17rcutorture: Maintain self-propagating CB only during forward-progress testkernel/rcu/rcutorture.c+10 -50 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/17] Torture-test changes for v4.20/v5.0

Hello!

This series contains torture-test changes that can be reasonably separated from the RCU flavor consolidation and cleanup:

1. Stop overwriting Make.out file with obsolete version.

2. Force occasional reader waits to increase the probability
of quiescent states interacting with RCU's scheduler hooks.

3-4. Warn on bad torture type for built-in tests.

5. Remove TREE06 and TREE08 from the default test list, as they
are redundant after RCU flavor consolidation.

6. Add RCU-reader forward-progress tests for RCU grace periods.

7. Also use grace-period sequence numbers to judge forward progress.

8. Avoid forward-progress no-test complaint if too few
forward-progress tries.

9. Vary forward-progress test interval in order to exercise RCU's
varied forward-progress mechanisms.

10. Add self-propagating callback to forward-progress testing in
order to ensure that there is a reason for grace periods to exist in the first place, let alone make forward progress.

11. Increase rcu_read_delay() longdelay_ms in order to exercise
RCU's forward-progress machinery that kicks into gear at about 100 milliseconds into the grace period.

12. Limit reader duration if irq or bh disabled to avoid triggering
-rt bh-disabling complaints.

13. Reduce priority of forward-progress testing for !SMP kernels
and for PREEMPT kernels without RCU priority boosting.

14. Adjust number of reader kthreads per CPU-hotplug operations.
After all, having 32 readers is a great thing for a 32-CPU system, but not so much if 31 of the CPUs has been offlined.

15. Print forward-progress test interval on error.

16. Check grace-period completion at stutter end: If the system is
idle, grace periods should complete quickly.

17. Maintain self-propagating CB only during forward-progress test.

Thanx, Paul

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

 include/linux/rcutiny.h                                  |    1 
 include/linux/torture.h                                  |    2 
 kernel/rcu/rcuperf.c                                     |    1 
 kernel/rcu/rcutorture.c                                  |  188 +++++++++++++--
 kernel/rcu/update.c                                      |    1 
 kernel/torture.c                                         |    3 
 tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh |    1 
 tools/testing/selftests/rcutorture/configs/rcu/CFLIST    |    2 
 8 files changed, 172 insertions(+), 27 deletions(-)