Skip to content

New smp_call_function() torture test for v5.10

Paul E. McKenney lkml rcu 1 version New

Get series with b4
b4 am 20200831180731.GA582@paulmck-ThinkPad-P72

Versions newest first

  1. v1 Latest19 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19scftorture: Add smp_call_function() torture testDocumentation/admin-guide/kernel-parameters.txt kernel/Makefile kernel/scftorture.c +1 more+454 -00 replies
2/19torture: Declare parse-console.sh independence from rcutorturetools/testing/selftests/rcutorture/bin/parse-console.sh+4 -30 replies
3/19torture: Add scftorture to the rcutorture scriptingtools/testing/selftests/rcutorture/bin/kvm-recheck-scf.sh tools/testing/selftests/rcutorture/bin/kvm.sh tools/testing/selftests/rcutorture/configs/scf/CFLIST +5 more+92 -10 replies
4/19scftorture: Implement weighted primitive selectionkernel/scftorture.c+155 -270 replies
5/19tick-sched: Clarify "NOHZ: local_softirq_pending" warningkernel/time/tick-sched.c+1 -10 replies
6/19scftorture: Summarize per-thread statisticskernel/scftorture.c+18 -40 replies
7/19scftorture: Add smp_call_function_single() memory-ordering checkskernel/scftorture.c+48 -80 replies
8/19scftorture: Add smp_call_function_many() memory-ordering checkskernel/scftorture.c+23 -30 replies
9/19scftorture: Add smp_call_function() memory-ordering checkskernel/scftorture.c+17 -80 replies
10/19scftorture: Consolidate scftorture_invoke_one() check and kfree()kernel/scftorture.c+8 -180 replies
11/19scftorture: Consolidate scftorture_invoke_one() scf_check initializationkernel/scftorture.c+8 -130 replies
12/19scftorture: Flag errors in torture-compatible mannerkernel/scftorture.c+10 -40 replies
13/19scftorture: Prevent compiler from reducing race probabilitieskernel/scftorture.c+8 -20 replies
14/19scftorture: Make symbol 'scf_torture_rand' statickernel/scftorture.c+1 -10 replies
15/19scftorture: Check unexpected "switch" statement valuekernel/scftorture.c+4 -00 replies
16/19scftorture: Block scftorture_invoker() kthreads for offline CPUskernel/scftorture.c+12 -10 replies
17/19scftorture: Adapt memory-ordering test to UP operationkernel/scftorture.c+2 -10 replies
18/19scftorture: Add cond_resched() to test loopkernel/scftorture.c+1 -00 replies
19/19rcuperf: Change rcuperf to rcuscaleDocumentation/admin-guide/kernel-parameters.txt MAINTAINERS kernel/rcu/Kconfig.debug +13 more+207 -2060 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/19] New smp_call_function() torture test for v5.10

Hello!

This series introduces a new torture test for smp_call_function() and friends:

1. Add smp_call_function() torture test.

2. Declare parse-console.sh independence from rcutorture.

3. Add scftorture to the rcutorture scripting.

4. Implement weighted primitive selection.

5. tick-sched: Clarify "NOHZ: local_softirq_pending" warning.

6. Summarize per-thread statistics.

7. Add smp_call_function_single() memory-ordering checks.

8. Add smp_call_function_many() memory-ordering checks.

9. Add smp_call_function() memory-ordering checks.

10. Consolidate scftorture_invoke_one() check and kfree().

11. Consolidate scftorture_invoke_one() scf_check initialization.

12. Flag errors in torture-compatible manner.

13. Prevent compiler from reducing race probabilities.

14. Make symbol 'scf_torture_rand' static.

15. Check unexpected "switch" statement value.

16. Block scftorture_invoker() kthreads for offline CPUs.

17. Adapt memory-ordering test to UP operation.

18. Add cond_resched() to test loop.

19. Change rcuperf to rcuscale.

Thanx, Paul

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

 b/Documentation/admin-guide/kernel-parameters.txt                       |  128 +
 b/MAINTAINERS                                                           |    3 
 b/kernel/Makefile                                                       |    2 
 b/kernel/rcu/Kconfig.debug                                              |    2 
 b/kernel/rcu/Makefile                                                   |    2 
 b/kernel/rcu/rcuscale.c                                                 |  330 ++--
 b/kernel/scftorture.c                                                   |  755 ++++++++--
 b/kernel/time/tick-sched.c                                              |    2 
 b/lib/Kconfig.debug                                                     |   10 
 b/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcuscale-ftrace.sh |    6 
 b/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcuscale.sh        |   14 
 b/tools/testing/selftests/rcutorture/bin/kvm-recheck-scf.sh             |   38 
 b/tools/testing/selftests/rcutorture/bin/kvm.sh                         |   10 
 b/tools/testing/selftests/rcutorture/bin/parse-console.sh               |   11 
 b/tools/testing/selftests/rcutorture/configs/rcuscale/CFcommon          |    2 
 b/tools/testing/selftests/rcutorture/configs/rcuscale/ver_functions.sh  |    4 
 b/tools/testing/selftests/rcutorture/configs/scf/CFLIST                 |    2 
 b/tools/testing/selftests/rcutorture/configs/scf/CFcommon               |    2 
 b/tools/testing/selftests/rcutorture/configs/scf/NOPREEMPT              |    9 
 b/tools/testing/selftests/rcutorture/configs/scf/NOPREEMPT.boot         |    1 
 b/tools/testing/selftests/rcutorture/configs/scf/PREEMPT                |    9 
 b/tools/testing/selftests/rcutorture/configs/scf/ver_functions.sh       |   30 
 tools/testing/selftests/rcutorture/configs/rcuperf/CFcommon             |    2 
 23 files changed, 1073 insertions(+), 301 deletions(-)