[PATCH tip/core/rcu 0/28] Torture-test updates for v5.11

Paul E. McKenney
2020-11-05T23:47:01Z

Hello!

This series contains torture-test updates:

1. Bounds-check module parameters.

2. Don't kill gdb sessions.

3. Track time of last ->writeunlock().

4. Periodically pause in stutter_wait().

5. Make torture_stutter() use hrtimer.

6. Add an alternative IPI vector.

7. Add RCU Tasks Trace.

8. Avoid divide by zero.

9. Exclude "NOHZ tick-stop error" from fatal errors.

10. Prevent hangs for invalid arguments.

11. Prevent hangs for invalid arguments.

12. Adjust scenarios SRCU-t and SRCU-u to make kconfig happy.

13. Ignore nreaders_stress if no readlock support, courtesy of
Hou Tao.

14. Prevent hangs for invalid arguments.

15. Prevent jitter processes from delaying failed run.

16. Prevent hangs for invalid arguments.

17. Force weak-hashed pointers on console log.

18. Make stutter_wait() caller restore priority.

19. Accept time units on kvm.sh --duration argument.

20. Small code cleanups.

21. Allow alternative forms of kvm.sh command-line arguments.

22. Add full-test stutter capability.

23. Invoke percpu_free_rwsem() to do percpu-rwsem cleanup, courtesy
of Hou Tao.

24. Don't do need_resched() testing if ->sync is NULL.

25. Fix a typo in header file, courtesy of Samuel Hernandez.

26. Make kvm-check-branches.sh use --allcpus.

27. Fix a spelling error in a comment, courtesy of Bhaskar Chowdhury.

28. Fix BUG parsing of console.log, courtesy of Anna-Maria Behnsen.

Thanx, Paul

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

kernel/locking/locktorture.c | 36 +++++-
kernel/rcu/rcuscale.c | 37 ++++++
kernel/rcu/rcutorture.c | 41 +++++--
kernel/rcu/refscale.c | 11 +-
kernel/scftorture.c | 53 +++++++---
kernel/torture.c | 42 +++++--
tools/include/nolibc/nolibc.h | 4
tools/testing/selftests/rcutorture/bin/console-badness.sh | 3
tools/testing/selftests/rcutorture/bin/functions.sh | 1
tools/testing/selftests/rcutorture/bin/kvm-check-branches.sh | 5
tools/testing/selftests/rcutorture/bin/kvm-recheck-rcuscale.sh | 2
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh | 19 +++
tools/testing/selftests/rcutorture/bin/kvm.sh | 29 ++++-
tools/testing/selftests/rcutorture/bin/parse-console.sh | 2
tools/testing/selftests/rcutorture/configs/rcu/SRCU-t | 3
tools/testing/selftests/rcutorture/configs/rcu/SRCU-u | 3
tools/testing/selftests/rcutorture/configs/rcuscale/CFcommon | 3
tools/testing/selftests/rcutorture/configs/rcuscale/TRACE01 | 15 ++
tools/testing/selftests/rcutorture/configs/rcuscale/TRACE01.boot | 1
19 files changed, 246 insertions(+), 64 deletions(-)