diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-31 14:05:24 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-31 14:05:24 -0400 |
| commit | b3fd4ea9df2d5c39cd6ce08faf965ed669eb3b56 (patch) | |
| tree | de45e2aff3106f4fa413ea3f08a7f8c969c0479b /tools/testing | |
| parent | 462bf234a82ae1ae9d7628f59bc81022591e1348 (diff) | |
| parent | 7de700e6806cafa30c70bc84478431a11197a5ea (diff) | |
Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull RCU updates from Ingo Molnar:
"Main changes:
- Torture-test changes, including refactoring of rcutorture and
introduction of a vestigial locktorture.
- Real-time latency fixes.
- Documentation updates.
- Miscellaneous fixes"
* 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (77 commits)
rcu: Provide grace-period piggybacking API
rcu: Ensure kernel/rcu/rcu.h can be sourced/used stand-alone
rcu: Fix sparse warning for rcu_expedited from kernel/ksysfs.c
notifier: Substitute rcu_access_pointer() for rcu_dereference_raw()
Documentation/memory-barriers.txt: Clarify release/acquire ordering
rcutorture: Save kvm.sh output to log
rcutorture: Add a lock_busted to test the test
rcutorture: Place kvm-test-1-run.sh output into res directory
rcutorture: Rename TREE_RCU-Kconfig.txt
locktorture: Add kvm-recheck.sh plug-in for locktorture
rcutorture: Gracefully handle NULL cleanup hooks
locktorture: Add vestigial locktorture configuration
rcutorture: Introduce "rcu" directory level underneath configs
rcutorture: Rename kvm-test-1-rcu.sh
rcutorture: Remove RCU dependencies from ver_functions.sh API
rcutorture: Create CFcommon file for common Kconfig parameters
rcutorture: Create config files for scripted test-the-test testing
rcutorture: Add an rcu_busted to test the test
locktorture: Add a lock-torture kernel module
rcutorture: Abstract kvm-recheck.sh
...
Diffstat (limited to 'tools/testing')
| -rw-r--r-- | tools/testing/selftests/rcutorture/bin/functions.sh | 1 | ||||
| -rwxr-xr-x | tools/testing/selftests/rcutorture/bin/kvm-recheck-lock.sh | 51 | ||||
| -rwxr-xr-x | tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh | 51 | ||||
| -rwxr-xr-x | tools/testing/selftests/rcutorture/bin/kvm-recheck.sh | 13 | ||||
| -rwxr-xr-x | tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh (renamed from tools/testing/selftests/rcutorture/bin/kvm-test-1-rcu.sh) | 53 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/bin/kvm.sh | 276 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/lock/BUSTED | 6 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/lock/BUSTED.boot | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/lock/CFLIST | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/lock/CFcommon | 2 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/lock/LOCK01 | 6 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/lock/ver_functions.sh | 43 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/BUSTED | 7 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/BUSTED.boot | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/CFLIST (renamed from tools/testing/selftests/rcutorture/configs/CFLIST) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/CFcommon | 2 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/SRCU-N (renamed from tools/testing/selftests/rcutorture/configs/SRCU-N) | 3 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/SRCU-N.boot (renamed from tools/testing/selftests/rcutorture/configs/SRCU-N.boot) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/SRCU-P (renamed from tools/testing/selftests/rcutorture/configs/SRCU-P) | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot (renamed from tools/testing/selftests/rcutorture/configs/SRCU-P.boot) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TINY01 (renamed from tools/testing/selftests/rcutorture/configs/TINY01) | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TINY02 (renamed from tools/testing/selftests/rcutorture/configs/TINY02) | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE01 (renamed from tools/testing/selftests/rcutorture/configs/TREE01) | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE01.boot (renamed from tools/testing/selftests/rcutorture/configs/TREE01.boot) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE02 (renamed from tools/testing/selftests/rcutorture/configs/TREE02) | 3 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE03 (renamed from tools/testing/selftests/rcutorture/configs/TREE03) | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE04 (renamed from tools/testing/selftests/rcutorture/configs/TREE04) | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE04.boot (renamed from tools/testing/selftests/rcutorture/configs/TREE04.boot) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE05 (renamed from tools/testing/selftests/rcutorture/configs/TREE05) | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE05.boot (renamed from tools/testing/selftests/rcutorture/configs/TREE05.boot) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE06 (renamed from tools/testing/selftests/rcutorture/configs/TREE06) | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE07 (renamed from tools/testing/selftests/rcutorture/configs/TREE07) | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE08 (renamed from tools/testing/selftests/rcutorture/configs/TREE08) | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE08-T (renamed from tools/testing/selftests/rcutorture/configs/TREE08-T) | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE09 (renamed from tools/testing/selftests/rcutorture/configs/TREE09) | 1 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/CFLIST (renamed from tools/testing/selftests/rcutorture/configs/v0.0/CFLIST) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/N1-S-T-NH-SD-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v0.0/N1-S-T-NH-SD-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/N2-2-t-nh-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v0.0/N2-2-t-nh-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/N3-3-T-nh-SD-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v0.0/N3-3-T-nh-SD-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/N4-A-t-NH-sd-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v0.0/N4-A-t-NH-sd-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/N5-U-T-NH-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v0.0/N5-U-T-NH-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/NT1-nh (renamed from tools/testing/selftests/rcutorture/configs/v0.0/NT1-nh) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/NT3-NH (renamed from tools/testing/selftests/rcutorture/configs/v0.0/NT3-NH) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/P1-S-T-NH-SD-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v0.0/P1-S-T-NH-SD-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/P2-2-t-nh-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v0.0/P2-2-t-nh-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/P3-3-T-nh-SD-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v0.0/P3-3-T-nh-SD-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/P4-A-t-NH-sd-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v0.0/P4-A-t-NH-sd-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/P5-U-T-NH-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v0.0/P5-U-T-NH-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/PT1-nh (renamed from tools/testing/selftests/rcutorture/configs/v0.0/PT1-nh) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/PT2-NH (renamed from tools/testing/selftests/rcutorture/configs/v0.0/PT2-NH) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v0.0/ver_functions.sh (renamed from tools/testing/selftests/rcutorture/configs/v0.0/ver_functions.sh) | 22 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/CFLIST (renamed from tools/testing/selftests/rcutorture/configs/v3.12/CFLIST) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/N1-S-T-NH-SD-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.12/N1-S-T-NH-SD-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/N2-2-t-nh-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.12/N2-2-t-nh-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/N3-3-T-nh-SD-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.12/N3-3-T-nh-SD-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/N4-A-t-NH-sd-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.12/N4-A-t-NH-sd-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/N5-U-T-NH-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.12/N5-U-T-NH-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/N6---t-nh-SD-smp-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.12/N6---t-nh-SD-smp-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/N7-4-T-NH-SD-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.12/N7-4-T-NH-SD-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/N8-2-T-NH-SD-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.12/N8-2-T-NH-SD-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/NT1-nh (renamed from tools/testing/selftests/rcutorture/configs/v3.12/NT1-nh) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/NT3-NH (renamed from tools/testing/selftests/rcutorture/configs/v3.12/NT3-NH) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/P1-S-T-NH-SD-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.12/P1-S-T-NH-SD-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/P2-2-t-nh-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.12/P2-2-t-nh-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/P3-3-T-nh-SD-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.12/P3-3-T-nh-SD-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/P4-A-t-NH-sd-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.12/P4-A-t-NH-sd-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/P5-U-T-NH-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.12/P5-U-T-NH-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/P6---t-nh-SD-smp-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.12/P6---t-nh-SD-smp-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.12/P7-4-T-NH-SD-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-all (renamed from tools/testing/selftests/rcutorture/configs/v3.12/P7-4-T-NH-SD-SMP-HP-all) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-none (renamed from tools/testing/selftests/rcutorture/configs/v3.12/P7-4-T-NH-SD-SMP-HP-none) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.12/P7-4-T-NH-SD-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/PT1-nh (renamed from tools/testing/selftests/rcutorture/configs/v3.12/PT1-nh) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.12/PT2-NH (renamed from tools/testing/selftests/rcutorture/configs/v3.12/PT2-NH) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/CFLIST (renamed from tools/testing/selftests/rcutorture/configs/v3.3/CFLIST) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/N1-S-T-NH-SD-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.3/N1-S-T-NH-SD-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/N2-2-t-nh-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.3/N2-2-t-nh-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/N3-3-T-nh-SD-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.3/N3-3-T-nh-SD-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/N4-A-t-NH-sd-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.3/N4-A-t-NH-sd-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/N5-U-T-NH-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.3/N5-U-T-NH-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/NT1-nh (renamed from tools/testing/selftests/rcutorture/configs/v3.3/NT1-nh) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/NT3-NH (renamed from tools/testing/selftests/rcutorture/configs/v3.3/NT3-NH) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/P1-S-T-NH-SD-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.3/P1-S-T-NH-SD-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/P2-2-t-nh-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.3/P2-2-t-nh-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/P3-3-T-nh-SD-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.3/P3-3-T-nh-SD-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/P4-A-t-NH-sd-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.3/P4-A-t-NH-sd-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/P5-U-T-NH-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.3/P5-U-T-NH-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/PT1-nh (renamed from tools/testing/selftests/rcutorture/configs/v3.3/PT1-nh) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/PT2-NH (renamed from tools/testing/selftests/rcutorture/configs/v3.3/PT2-NH) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.3/ver_functions.sh (renamed from tools/testing/selftests/rcutorture/configs/ver_functions.sh) | 28 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/CFLIST (renamed from tools/testing/selftests/rcutorture/configs/v3.5/CFLIST) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/N1-S-T-NH-SD-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.5/N1-S-T-NH-SD-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/N2-2-t-nh-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.5/N2-2-t-nh-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/N3-3-T-nh-SD-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.5/N3-3-T-nh-SD-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/N4-A-t-NH-sd-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.5/N4-A-t-NH-sd-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/N5-U-T-NH-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.5/N5-U-T-NH-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/NT1-nh (renamed from tools/testing/selftests/rcutorture/configs/v3.5/NT1-nh) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/NT3-NH (renamed from tools/testing/selftests/rcutorture/configs/v3.5/NT3-NH) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/P1-S-T-NH-SD-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.5/P1-S-T-NH-SD-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/P2-2-t-nh-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.5/P2-2-t-nh-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/P3-3-T-nh-SD-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.5/P3-3-T-nh-SD-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/P4-A-t-NH-sd-SMP-HP (renamed from tools/testing/selftests/rcutorture/configs/v3.5/P4-A-t-NH-sd-SMP-HP) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/P5-U-T-NH-sd-SMP-hp (renamed from tools/testing/selftests/rcutorture/configs/v3.5/P5-U-T-NH-sd-SMP-hp) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/PT1-nh (renamed from tools/testing/selftests/rcutorture/configs/v3.5/PT1-nh) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/PT2-NH (renamed from tools/testing/selftests/rcutorture/configs/v3.5/PT2-NH) | 0 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/v3.5/ver_functions.sh (renamed from tools/testing/selftests/rcutorture/configs/v3.5/ver_functions.sh) | 23 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/ver_functions.sh (renamed from tools/testing/selftests/rcutorture/configs/v3.3/ver_functions.sh) | 26 | ||||
| -rw-r--r-- | tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt (renamed from tools/testing/selftests/rcutorture/doc/TREE_RCU-Kconfig.txt) | 0 |
108 files changed, 516 insertions, 115 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/functions.sh b/tools/testing/selftests/rcutorture/bin/functions.sh index 587561d7c035..9b17e810ddc3 100644 --- a/tools/testing/selftests/rcutorture/bin/functions.sh +++ b/tools/testing/selftests/rcutorture/bin/functions.sh | |||
| @@ -96,6 +96,7 @@ identify_qemu () { | |||
| 96 | echo qemu-system-ppc64 | 96 | echo qemu-system-ppc64 |
| 97 | else | 97 | else |
| 98 | echo Cannot figure out what qemu command to use! 1>&2 | 98 | echo Cannot figure out what qemu command to use! 1>&2 |
| 99 | echo file $1 output: $u | ||
| 99 | # Usually this will be one of /usr/bin/qemu-system-* | 100 | # Usually this will be one of /usr/bin/qemu-system-* |
| 100 | # Use RCU_QEMU_CMD environment variable or appropriate | 101 | # Use RCU_QEMU_CMD environment variable or appropriate |
| 101 | # argument to top-level script. | 102 | # argument to top-level script. |
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-recheck-lock.sh b/tools/testing/selftests/rcutorture/bin/kvm-recheck-lock.sh new file mode 100755 index 000000000000..829186e19eb1 --- /dev/null +++ b/tools/testing/selftests/rcutorture/bin/kvm-recheck-lock.sh | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | # | ||
| 3 | # Analyze a given results directory for locktorture progress. | ||
| 4 | # | ||
| 5 | # Usage: sh kvm-recheck-lock.sh resdir | ||
| 6 | # | ||
| 7 | # This program is free software; you can redistribute it and/or modify | ||
| 8 | # it under the terms of the GNU General Public License as published by | ||
| 9 | # the Free Software Foundation; either version 2 of the License, or | ||
| 10 | # (at your option) any later version. | ||
| 11 | # | ||
| 12 | # This program is distributed in the hope that it will be useful, | ||
| 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | # GNU General Public License for more details. | ||
| 16 | # | ||
| 17 | # You should have received a copy of the GNU General Public License | ||
| 18 | # along with this program; if not, you can access it online at | ||
| 19 | # http://www.gnu.org/licenses/gpl-2.0.html. | ||
| 20 | # | ||
| 21 | # Copyright (C) IBM Corporation, 2014 | ||
| 22 | # | ||
| 23 | # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> | ||
| 24 | |||
| 25 | i="$1" | ||
| 26 | if test -d $i | ||
| 27 | then | ||
| 28 | : | ||
| 29 | else | ||
| 30 | echo Unreadable results directory: $i | ||
| 31 | exit 1 | ||
| 32 | fi | ||
| 33 | |||
| 34 | configfile=`echo $i | sed -e 's/^.*\///'` | ||
| 35 | ncs=`grep "Writes: Total:" $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* Total: //' -e 's/ .*$//'` | ||
| 36 | if test -z "$ncs" | ||
| 37 | then | ||
| 38 | echo $configfile | ||
| 39 | else | ||
| 40 | title="$configfile ------- $ncs acquisitions/releases" | ||
| 41 | dur=`sed -e 's/^.* locktorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null` | ||
| 42 | if test -z "$dur" | ||
| 43 | then | ||
| 44 | : | ||
| 45 | else | ||
| 46 | ncsps=`awk -v ncs=$ncs -v dur=$dur ' | ||
| 47 | BEGIN { print ncs / dur }' < /dev/null` | ||
| 48 | title="$title ($ncsps per second)" | ||
| 49 | fi | ||
| 50 | echo $title | ||
| 51 | fi | ||
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh b/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh new file mode 100755 index 000000000000..d75b1dc5ae53 --- /dev/null +++ b/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | # | ||
| 3 | # Analyze a given results directory for rcutorture progress. | ||
| 4 | # | ||
| 5 | # Usage: sh kvm-recheck-rcu.sh resdir | ||
| 6 | # | ||
| 7 | # This program is free software; you can redistribute it and/or modify | ||
| 8 | # it under the terms of the GNU General Public License as published by | ||
| 9 | # the Free Software Foundation; either version 2 of the License, or | ||
| 10 | # (at your option) any later version. | ||
| 11 | # | ||
| 12 | # This program is distributed in the hope that it will be useful, | ||
| 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | # GNU General Public License for more details. | ||
| 16 | # | ||
| 17 | # You should have received a copy of the GNU General Public License | ||
| 18 | # along with this program; if not, you can access it online at | ||
| 19 | # http://www.gnu.org/licenses/gpl-2.0.html. | ||
| 20 | # | ||
| 21 | # Copyright (C) IBM Corporation, 2014 | ||
| 22 | # | ||
| 23 | # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> | ||
| 24 | |||
| 25 | i="$1" | ||
| 26 | if test -d $i | ||
| 27 | then | ||
| 28 | : | ||
| 29 | else | ||
| 30 | echo Unreadable results directory: $i | ||
| 31 | exit 1 | ||
| 32 | fi | ||
| 33 | |||
| 34 | configfile=`echo $i | sed -e 's/^.*\///'` | ||
| 35 | ngps=`grep ver: $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* ver: //' -e 's/ .*$//'` | ||
| 36 | if test -z "$ngps" | ||
| 37 | then | ||
| 38 | echo $configfile | ||
| 39 | else | ||
| 40 | title="$configfile ------- $ngps grace periods" | ||
| 41 | dur=`sed -e 's/^.* rcutorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null` | ||
| 42 | if test -z "$dur" | ||
| 43 | then | ||
| 44 | : | ||
| 45 | else | ||
| 46 | ngpsps=`awk -v ngps=$ngps -v dur=$dur ' | ||
| 47 | BEGIN { print ngps / dur }' < /dev/null` | ||
| 48 | title="$title ($ngpsps per second)" | ||
| 49 | fi | ||
| 50 | echo $title | ||
| 51 | fi | ||
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh b/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh index baef09f3469b..a44daaa259a9 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | # | 2 | # |
| 3 | # Given the results directories for previous KVM runs of rcutorture, | 3 | # Given the results directories for previous KVM-based torture runs, |
| 4 | # check the build and console output for errors. Given a directory | 4 | # check the build and console output for errors. Given a directory |
| 5 | # containing results directories, this recursively checks them all. | 5 | # containing results directories, this recursively checks them all. |
| 6 | # | 6 | # |
| @@ -27,11 +27,18 @@ | |||
| 27 | PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH | 27 | PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH |
| 28 | for rd in "$@" | 28 | for rd in "$@" |
| 29 | do | 29 | do |
| 30 | firsttime=1 | ||
| 30 | dirs=`find $rd -name Make.defconfig.out -print | sort | sed -e 's,/[^/]*$,,' | sort -u` | 31 | dirs=`find $rd -name Make.defconfig.out -print | sort | sed -e 's,/[^/]*$,,' | sort -u` |
| 31 | for i in $dirs | 32 | for i in $dirs |
| 32 | do | 33 | do |
| 33 | configfile=`echo $i | sed -e 's/^.*\///'` | 34 | if test -n "$firsttime" |
| 34 | echo $configfile | 35 | then |
| 36 | firsttime="" | ||
| 37 | resdir=`echo $i | sed -e 's,/$,,' -e 's,/[^/]*$,,'` | ||
| 38 | head -1 $resdir/log | ||
| 39 | fi | ||
| 40 | TORTURE_SUITE="`cat $i/../TORTURE_SUITE`" | ||
| 41 | kvm-recheck-${TORTURE_SUITE}.sh $i | ||
| 35 | configcheck.sh $i/.config $i/ConfigFragment | 42 | configcheck.sh $i/.config $i/ConfigFragment |
| 36 | parse-build.sh $i/Make.out $configfile | 43 | parse-build.sh $i/Make.out $configfile |
| 37 | parse-rcutorture.sh $i/console.log $configfile | 44 | parse-rcutorture.sh $i/console.log $configfile |
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-test-1-rcu.sh b/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh index 151b23788935..94b28bb37d36 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-test-1-rcu.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh | |||
| @@ -6,15 +6,15 @@ | |||
| 6 | # Execute this in the source tree. Do not run it as a background task | 6 | # Execute this in the source tree. Do not run it as a background task |
| 7 | # because qemu does not seem to like that much. | 7 | # because qemu does not seem to like that much. |
| 8 | # | 8 | # |
| 9 | # Usage: sh kvm-test-1-rcu.sh config builddir resdir minutes qemu-args bootargs | 9 | # Usage: sh kvm-test-1-run.sh config builddir resdir minutes qemu-args boot_args |
| 10 | # | 10 | # |
| 11 | # qemu-args defaults to "" -- you will want "-nographic" if running headless. | 11 | # qemu-args defaults to "-nographic", along with arguments specifying the |
| 12 | # bootargs defaults to "root=/dev/sda noapic selinux=0 console=ttyS0" | 12 | # number of CPUs and other options generated from |
| 13 | # "initcall_debug debug rcutorture.stat_interval=15" | 13 | # the underlying CPU architecture. |
| 14 | # "rcutorture.shutdown_secs=$((minutes * 60))" | 14 | # boot_args defaults to value returned by the per_version_boot_params |
| 15 | # "rcutorture.rcutorture_runnable=1" | 15 | # shell function. |
| 16 | # | 16 | # |
| 17 | # Anything you specify for either qemu-args or bootargs is appended to | 17 | # Anything you specify for either qemu-args or boot_args is appended to |
| 18 | # the default values. The "-smp" value is deduced from the contents of | 18 | # the default values. The "-smp" value is deduced from the contents of |
| 19 | # the config fragment. | 19 | # the config fragment. |
| 20 | # | 20 | # |
| @@ -40,32 +40,34 @@ | |||
| 40 | 40 | ||
| 41 | grace=120 | 41 | grace=120 |
| 42 | 42 | ||
| 43 | T=/tmp/kvm-test-1-rcu.sh.$$ | 43 | T=/tmp/kvm-test-1-run.sh.$$ |
| 44 | trap 'rm -rf $T' 0 | 44 | trap 'rm -rf $T' 0 |
| 45 | 45 | ||
| 46 | . $KVM/bin/functions.sh | 46 | . $KVM/bin/functions.sh |
| 47 | . $KVPATH/ver_functions.sh | 47 | . $KVPATH/ver_functions.sh |
| 48 | 48 | ||
| 49 | config_template=${1} | 49 | config_template=${1} |
| 50 | config_dir=`echo $config_template | sed -e 's,/[^/]*$,,'` | ||
| 50 | title=`echo $config_template | sed -e 's/^.*\///'` | 51 | title=`echo $config_template | sed -e 's/^.*\///'` |
| 51 | builddir=${2} | 52 | builddir=${2} |
| 52 | if test -z "$builddir" -o ! -d "$builddir" -o ! -w "$builddir" | 53 | if test -z "$builddir" -o ! -d "$builddir" -o ! -w "$builddir" |
| 53 | then | 54 | then |
| 54 | echo "kvm-test-1-rcu.sh :$builddir: Not a writable directory, cannot build into it" | 55 | echo "kvm-test-1-run.sh :$builddir: Not a writable directory, cannot build into it" |
| 55 | exit 1 | 56 | exit 1 |
| 56 | fi | 57 | fi |
| 57 | resdir=${3} | 58 | resdir=${3} |
| 58 | if test -z "$resdir" -o ! -d "$resdir" -o ! -w "$resdir" | 59 | if test -z "$resdir" -o ! -d "$resdir" -o ! -w "$resdir" |
| 59 | then | 60 | then |
| 60 | echo "kvm-test-1-rcu.sh :$resdir: Not a writable directory, cannot build into it" | 61 | echo "kvm-test-1-run.sh :$resdir: Not a writable directory, cannot store results into it" |
| 61 | exit 1 | 62 | exit 1 |
| 62 | fi | 63 | fi |
| 63 | cp $config_template $resdir/ConfigFragment | 64 | cp $config_template $resdir/ConfigFragment |
| 64 | echo ' ---' `date`: Starting build | 65 | echo ' ---' `date`: Starting build |
| 65 | echo ' ---' Kconfig fragment at: $config_template >> $resdir/log | 66 | echo ' ---' Kconfig fragment at: $config_template >> $resdir/log |
| 66 | cat << '___EOF___' >> $T | 67 | if test -r "$config_dir/CFcommon" |
| 67 | CONFIG_RCU_TORTURE_TEST=y | 68 | then |
| 68 | ___EOF___ | 69 | cat < $config_dir/CFcommon >> $T |
| 70 | fi | ||
| 69 | # Optimizations below this point | 71 | # Optimizations below this point |
| 70 | # CONFIG_USB=n | 72 | # CONFIG_USB=n |
| 71 | # CONFIG_SECURITY=n | 73 | # CONFIG_SECURITY=n |
| @@ -96,11 +98,23 @@ then | |||
| 96 | cp $builddir/.config $resdir | 98 | cp $builddir/.config $resdir |
| 97 | cp $builddir/arch/x86/boot/bzImage $resdir | 99 | cp $builddir/arch/x86/boot/bzImage $resdir |
| 98 | parse-build.sh $resdir/Make.out $title | 100 | parse-build.sh $resdir/Make.out $title |
| 101 | if test -f $builddir.wait | ||
| 102 | then | ||
| 103 | mv $builddir.wait $builddir.ready | ||
| 104 | fi | ||
| 99 | else | 105 | else |
| 100 | cp $builddir/Make*.out $resdir | 106 | cp $builddir/Make*.out $resdir |
| 101 | echo Build failed, not running KVM, see $resdir. | 107 | echo Build failed, not running KVM, see $resdir. |
| 108 | if test -f $builddir.wait | ||
| 109 | then | ||
| 110 | mv $builddir.wait $builddir.ready | ||
| 111 | fi | ||
| 102 | exit 1 | 112 | exit 1 |
| 103 | fi | 113 | fi |
| 114 | while test -f $builddir.ready | ||
| 115 | do | ||
| 116 | sleep 1 | ||
| 117 | done | ||
| 104 | minutes=$4 | 118 | minutes=$4 |
| 105 | seconds=$(($minutes * 60)) | 119 | seconds=$(($minutes * 60)) |
| 106 | qemu_args=$5 | 120 | qemu_args=$5 |
| @@ -111,9 +125,10 @@ kstarttime=`awk 'BEGIN { print systime() }' < /dev/null` | |||
| 111 | echo ' ---' `date`: Starting kernel | 125 | echo ' ---' `date`: Starting kernel |
| 112 | 126 | ||
| 113 | # Determine the appropriate flavor of qemu command. | 127 | # Determine the appropriate flavor of qemu command. |
| 114 | QEMU="`identify_qemu $builddir/vmlinux.o`" | 128 | QEMU="`identify_qemu $builddir/vmlinux`" |
| 115 | 129 | ||
| 116 | # Generate -smp qemu argument. | 130 | # Generate -smp qemu argument. |
| 131 | qemu_args="-nographic $qemu_args" | ||
| 117 | cpu_count=`configNR_CPUS.sh $config_template` | 132 | cpu_count=`configNR_CPUS.sh $config_template` |
| 118 | vcpus=`identify_qemu_vcpus` | 133 | vcpus=`identify_qemu_vcpus` |
| 119 | if test $cpu_count -gt $vcpus | 134 | if test $cpu_count -gt $vcpus |
| @@ -133,12 +148,8 @@ qemu_append="`identify_qemu_append "$QEMU"`" | |||
| 133 | 148 | ||
| 134 | # Pull in Kconfig-fragment boot parameters | 149 | # Pull in Kconfig-fragment boot parameters |
| 135 | boot_args="`configfrag_boot_params "$boot_args" "$config_template"`" | 150 | boot_args="`configfrag_boot_params "$boot_args" "$config_template"`" |
| 136 | # Generate CPU-hotplug boot parameters | 151 | # Generate kernel-version-specific boot parameters |
| 137 | boot_args="`rcutorture_param_onoff "$boot_args" $builddir/.config`" | 152 | boot_args="`per_version_boot_params "$boot_args" $builddir/.config $seconds`" |
| 138 | # Generate rcu_barrier() boot parameter | ||
| 139 | boot_args="`rcutorture_param_n_barrier_cbs "$boot_args"`" | ||
| 140 | # Pull in standard rcutorture boot arguments | ||
| 141 | boot_args="$boot_args rcutorture.stat_interval=15 rcutorture.shutdown_secs=$seconds rcutorture.rcutorture_runnable=1" | ||
| 142 | 153 | ||
| 143 | echo $QEMU $qemu_args -m 512 -kernel $builddir/arch/x86/boot/bzImage -append \"$qemu_append $boot_args\" > $resdir/qemu-cmd | 154 | echo $QEMU $qemu_args -m 512 -kernel $builddir/arch/x86/boot/bzImage -append \"$qemu_append $boot_args\" > $resdir/qemu-cmd |
| 144 | if test -n "$RCU_BUILDONLY" | 155 | if test -n "$RCU_BUILDONLY" |
| @@ -188,5 +199,5 @@ then | |||
| 188 | fi | 199 | fi |
| 189 | 200 | ||
| 190 | cp $builddir/console.log $resdir | 201 | cp $builddir/console.log $resdir |
| 191 | parse-rcutorture.sh $resdir/console.log $title | 202 | parse-${TORTURE_SUITE}torture.sh $resdir/console.log $title |
| 192 | parse-console.sh $resdir/console.log $title | 203 | parse-console.sh $resdir/console.log $title |
diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh index 1b7923bf6a70..5a78cbf55f06 100644 --- a/tools/testing/selftests/rcutorture/bin/kvm.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm.sh | |||
| @@ -30,14 +30,21 @@ | |||
| 30 | scriptname=$0 | 30 | scriptname=$0 |
| 31 | args="$*" | 31 | args="$*" |
| 32 | 32 | ||
| 33 | T=/tmp/kvm.sh.$$ | ||
| 34 | trap 'rm -rf $T' 0 | ||
| 35 | mkdir $T | ||
| 36 | |||
| 33 | dur=30 | 37 | dur=30 |
| 38 | dryrun="" | ||
| 34 | KVM="`pwd`/tools/testing/selftests/rcutorture"; export KVM | 39 | KVM="`pwd`/tools/testing/selftests/rcutorture"; export KVM |
| 35 | PATH=${KVM}/bin:$PATH; export PATH | 40 | PATH=${KVM}/bin:$PATH; export PATH |
| 36 | builddir="${KVM}/b1" | 41 | builddir="${KVM}/b1" |
| 37 | RCU_INITRD="$KVM/initrd"; export RCU_INITRD | 42 | RCU_INITRD="$KVM/initrd"; export RCU_INITRD |
| 38 | RCU_KMAKE_ARG=""; export RCU_KMAKE_ARG | 43 | RCU_KMAKE_ARG=""; export RCU_KMAKE_ARG |
| 44 | TORTURE_SUITE=rcu | ||
| 39 | resdir="" | 45 | resdir="" |
| 40 | configs="" | 46 | configs="" |
| 47 | cpus=0 | ||
| 41 | ds=`date +%Y.%m.%d-%H:%M:%S` | 48 | ds=`date +%Y.%m.%d-%H:%M:%S` |
| 42 | kversion="" | 49 | kversion="" |
| 43 | 50 | ||
| @@ -49,7 +56,9 @@ usage () { | |||
| 49 | echo " --builddir absolute-pathname" | 56 | echo " --builddir absolute-pathname" |
| 50 | echo " --buildonly" | 57 | echo " --buildonly" |
| 51 | echo " --configs \"config-file list\"" | 58 | echo " --configs \"config-file list\"" |
| 59 | echo " --cpus N" | ||
| 52 | echo " --datestamp string" | 60 | echo " --datestamp string" |
| 61 | echo " --dryrun sched|script" | ||
| 53 | echo " --duration minutes" | 62 | echo " --duration minutes" |
| 54 | echo " --interactive" | 63 | echo " --interactive" |
| 55 | echo " --kmake-arg kernel-make-arguments" | 64 | echo " --kmake-arg kernel-make-arguments" |
| @@ -58,8 +67,9 @@ usage () { | |||
| 58 | echo " --no-initrd" | 67 | echo " --no-initrd" |
| 59 | echo " --qemu-args qemu-system-..." | 68 | echo " --qemu-args qemu-system-..." |
| 60 | echo " --qemu-cmd qemu-system-..." | 69 | echo " --qemu-cmd qemu-system-..." |
| 61 | echo " --results absolute-pathname" | ||
| 62 | echo " --relbuilddir relative-pathname" | 70 | echo " --relbuilddir relative-pathname" |
| 71 | echo " --results absolute-pathname" | ||
| 72 | echo " --torture rcu" | ||
| 63 | exit 1 | 73 | exit 1 |
| 64 | } | 74 | } |
| 65 | 75 | ||
| @@ -85,11 +95,21 @@ do | |||
| 85 | configs="$2" | 95 | configs="$2" |
| 86 | shift | 96 | shift |
| 87 | ;; | 97 | ;; |
| 98 | --cpus) | ||
| 99 | checkarg --cpus "(number)" "$#" "$2" '^[0-9]*$' '^--' | ||
| 100 | cpus=$2 | ||
| 101 | shift | ||
| 102 | ;; | ||
| 88 | --datestamp) | 103 | --datestamp) |
| 89 | checkarg --datestamp "(relative pathname)" "$#" "$2" '^[^/]*$' '^--' | 104 | checkarg --datestamp "(relative pathname)" "$#" "$2" '^[^/]*$' '^--' |
| 90 | ds=$2 | 105 | ds=$2 |
| 91 | shift | 106 | shift |
| 92 | ;; | 107 | ;; |
| 108 | --dryrun) | ||
| 109 | checkarg --dryrun "sched|script" $# "$2" 'sched\|script' '^--' | ||
| 110 | dryrun=$2 | ||
| 111 | shift | ||
| 112 | ;; | ||
| 93 | --duration) | 113 | --duration) |
| 94 | checkarg --duration "(minutes)" $# "$2" '^[0-9]*$' '^error' | 114 | checkarg --duration "(minutes)" $# "$2" '^[0-9]*$' '^error' |
| 95 | dur=$2 | 115 | dur=$2 |
| @@ -138,6 +158,11 @@ do | |||
| 138 | resdir=$2 | 158 | resdir=$2 |
| 139 | shift | 159 | shift |
| 140 | ;; | 160 | ;; |
| 161 | --torture) | ||
| 162 | checkarg --torture "(suite name)" "$#" "$2" '^\(lock\|rcu\)$' '^--' | ||
| 163 | TORTURE_SUITE=$2 | ||
| 164 | shift | ||
| 165 | ;; | ||
| 141 | *) | 166 | *) |
| 142 | echo Unknown argument $1 | 167 | echo Unknown argument $1 |
| 143 | usage | 168 | usage |
| @@ -146,7 +171,7 @@ do | |||
| 146 | shift | 171 | shift |
| 147 | done | 172 | done |
| 148 | 173 | ||
| 149 | CONFIGFRAG=${KVM}/configs; export CONFIGFRAG | 174 | CONFIGFRAG=${KVM}/configs/${TORTURE_SUITE}; export CONFIGFRAG |
| 150 | KVPATH=${CONFIGFRAG}/$kversion; export KVPATH | 175 | KVPATH=${CONFIGFRAG}/$kversion; export KVPATH |
| 151 | 176 | ||
| 152 | if test -z "$configs" | 177 | if test -z "$configs" |
| @@ -157,54 +182,231 @@ fi | |||
| 157 | if test -z "$resdir" | 182 | if test -z "$resdir" |
| 158 | then | 183 | then |
| 159 | resdir=$KVM/res | 184 | resdir=$KVM/res |
| 160 | if ! test -e $resdir | 185 | fi |
| 161 | then | 186 | |
| 162 | mkdir $resdir || : | 187 | if test "$dryrun" = "" |
| 163 | fi | 188 | then |
| 164 | else | ||
| 165 | if ! test -e $resdir | 189 | if ! test -e $resdir |
| 166 | then | 190 | then |
| 167 | mkdir -p "$resdir" || : | 191 | mkdir -p "$resdir" || : |
| 168 | fi | 192 | fi |
| 169 | fi | 193 | mkdir $resdir/$ds |
| 170 | mkdir $resdir/$ds | ||
| 171 | touch $resdir/$ds/log | ||
| 172 | echo $scriptname $args >> $resdir/$ds/log | ||
| 173 | 194 | ||
| 174 | pwd > $resdir/$ds/testid.txt | 195 | # Be noisy only if running the script. |
| 175 | if test -d .git | 196 | echo Results directory: $resdir/$ds |
| 176 | then | 197 | echo $scriptname $args |
| 177 | git status >> $resdir/$ds/testid.txt | 198 | |
| 178 | git rev-parse HEAD >> $resdir/$ds/testid.txt | 199 | touch $resdir/$ds/log |
| 179 | fi | 200 | echo $scriptname $args >> $resdir/$ds/log |
| 180 | builddir=$KVM/b1 | 201 | echo ${TORTURE_SUITE} > $resdir/$ds/TORTURE_SUITE |
| 181 | if ! test -e $builddir | 202 | |
| 182 | then | 203 | pwd > $resdir/$ds/testid.txt |
| 183 | mkdir $builddir || : | 204 | if test -d .git |
| 205 | then | ||
| 206 | git status >> $resdir/$ds/testid.txt | ||
| 207 | git rev-parse HEAD >> $resdir/$ds/testid.txt | ||
| 208 | fi | ||
| 184 | fi | 209 | fi |
| 185 | 210 | ||
| 211 | # Create a file of test-name/#cpus pairs, sorted by decreasing #cpus. | ||
| 212 | touch $T/cfgcpu | ||
| 186 | for CF in $configs | 213 | for CF in $configs |
| 187 | do | 214 | do |
| 188 | # Running TREE01 multiple times creates TREE01, TREE01.2, TREE01.3, ... | 215 | if test -f "$CONFIGFRAG/$kversion/$CF" |
| 189 | rd=$resdir/$ds/$CF | ||
| 190 | if test -d "${rd}" | ||
| 191 | then | 216 | then |
| 192 | n="`ls -d "${rd}"* | grep '\.[0-9]\+$' | | 217 | echo $CF `configNR_CPUS.sh $CONFIGFRAG/$kversion/$CF` >> $T/cfgcpu |
| 193 | sed -e 's/^.*\.\([0-9]\+\)/\1/' | | 218 | else |
| 194 | sort -k1n | tail -1`" | 219 | echo "The --configs file $CF does not exist, terminating." |
| 195 | if test -z "$n" | 220 | exit 1 |
| 196 | then | ||
| 197 | rd="${rd}.2" | ||
| 198 | else | ||
| 199 | n="`expr $n + 1`" | ||
| 200 | rd="${rd}.${n}" | ||
| 201 | fi | ||
| 202 | fi | 221 | fi |
| 203 | mkdir "${rd}" | ||
| 204 | echo Results directory: $rd | ||
| 205 | kvm-test-1-rcu.sh $CONFIGFRAG/$kversion/$CF $builddir $rd $dur "-nographic $RCU_QEMU_ARG" "rcutorture.test_no_idle_hz=1 rcutorture.verbose=1 $RCU_BOOTARGS" | ||
| 206 | done | 222 | done |
| 223 | sort -k2nr $T/cfgcpu > $T/cfgcpu.sort | ||
| 224 | |||
| 225 | # Use a greedy bin-packing algorithm, sorting the list accordingly. | ||
| 226 | awk < $T/cfgcpu.sort > $T/cfgcpu.pack -v ncpus=$cpus ' | ||
| 227 | BEGIN { | ||
| 228 | njobs = 0; | ||
| 229 | } | ||
| 230 | |||
| 231 | { | ||
| 232 | # Read file of tests and corresponding required numbers of CPUs. | ||
| 233 | cf[njobs] = $1; | ||
| 234 | cpus[njobs] = $2; | ||
| 235 | njobs++; | ||
| 236 | } | ||
| 237 | |||
| 238 | END { | ||
| 239 | alldone = 0; | ||
| 240 | batch = 0; | ||
| 241 | nc = -1; | ||
| 242 | |||
| 243 | # Each pass through the following loop creates on test batch | ||
| 244 | # that can be executed concurrently given ncpus. Note that a | ||
| 245 | # given test that requires more than the available CPUs will run in | ||
| 246 | # their own batch. Such tests just have to make do with what | ||
| 247 | # is available. | ||
| 248 | while (nc != ncpus) { | ||
| 249 | batch++; | ||
| 250 | nc = ncpus; | ||
| 251 | |||
| 252 | # Each pass through the following loop considers one | ||
| 253 | # test for inclusion in the current batch. | ||
| 254 | for (i = 0; i < njobs; i++) { | ||
| 255 | if (done[i]) | ||
| 256 | continue; # Already part of a batch. | ||
| 257 | if (nc >= cpus[i] || nc == ncpus) { | ||
| 258 | |||
| 259 | # This test fits into the current batch. | ||
| 260 | done[i] = batch; | ||
| 261 | nc -= cpus[i]; | ||
| 262 | if (nc <= 0) | ||
| 263 | break; # Too-big test in its own batch. | ||
| 264 | } | ||
| 265 | } | ||
| 266 | } | ||
| 267 | |||
| 268 | # Dump out the tests in batch order. | ||
| 269 | for (b = 1; b <= batch; b++) | ||
| 270 | for (i = 0; i < njobs; i++) | ||
| 271 | if (done[i] == b) | ||
| 272 | print cf[i], cpus[i]; | ||
| 273 | }' | ||
| 274 | |||
| 275 | # Generate a script to execute the tests in appropriate batches. | ||
| 276 | cat << ___EOF___ > $T/script | ||
| 277 | TORTURE_SUITE="$TORTURE_SUITE"; export TORTURE_SUITE | ||
| 278 | ___EOF___ | ||
| 279 | awk < $T/cfgcpu.pack \ | ||
| 280 | -v CONFIGDIR="$CONFIGFRAG/$kversion/" \ | ||
| 281 | -v KVM="$KVM" \ | ||
| 282 | -v ncpus=$cpus \ | ||
| 283 | -v rd=$resdir/$ds/ \ | ||
| 284 | -v dur=$dur \ | ||
| 285 | -v RCU_QEMU_ARG=$RCU_QEMU_ARG \ | ||
| 286 | -v RCU_BOOTARGS=$RCU_BOOTARGS \ | ||
| 287 | 'BEGIN { | ||
| 288 | i = 0; | ||
| 289 | } | ||
| 290 | |||
| 291 | { | ||
| 292 | cf[i] = $1; | ||
| 293 | cpus[i] = $2; | ||
| 294 | i++; | ||
| 295 | } | ||
| 296 | |||
| 297 | # Dump out the scripting required to run one test batch. | ||
| 298 | function dump(first, pastlast) | ||
| 299 | { | ||
| 300 | print "echo ----Start batch: `date`"; | ||
| 301 | print "echo ----Start batch: `date` >> " rd "/log"; | ||
| 302 | jn=1 | ||
| 303 | for (j = first; j < pastlast; j++) { | ||
| 304 | builddir=KVM "/b" jn | ||
| 305 | cpusr[jn] = cpus[j]; | ||
| 306 | if (cfrep[cf[j]] == "") { | ||
| 307 | cfr[jn] = cf[j]; | ||
| 308 | cfrep[cf[j]] = 1; | ||
| 309 | } else { | ||
| 310 | cfrep[cf[j]]++; | ||
| 311 | cfr[jn] = cf[j] "." cfrep[cf[j]]; | ||
| 312 | } | ||
| 313 | if (cpusr[jn] > ncpus && ncpus != 0) | ||
| 314 | ovf = "(!)"; | ||
| 315 | else | ||
| 316 | ovf = ""; | ||
| 317 | print "echo ", cfr[jn], cpusr[jn] ovf ": Starting build. `date`"; | ||
| 318 | print "echo ", cfr[jn], cpusr[jn] ovf ": Starting build. `date` >> " rd "/log"; | ||
| 319 | print "rm -f " builddir ".*"; | ||
| 320 | print "touch " builddir ".wait"; | ||
| 321 | print "mkdir " builddir " > /dev/null 2>&1 || :"; | ||
| 322 | print "mkdir " rd cfr[jn] " || :"; | ||
| 323 | print "kvm-test-1-run.sh " CONFIGDIR cf[j], builddir, rd cfr[jn], dur " \"" RCU_QEMU_ARG "\" \"" RCU_BOOTARGS "\" > " rd cfr[jn] "/kvm-test-1-run.sh.out 2>&1 &" | ||
| 324 | print "echo ", cfr[jn], cpusr[jn] ovf ": Waiting for build to complete. `date`"; | ||
| 325 | print "echo ", cfr[jn], cpusr[jn] ovf ": Waiting for build to complete. `date` >> " rd "/log"; | ||
| 326 | print "while test -f " builddir ".wait" | ||
| 327 | print "do" | ||
| 328 | print "\tsleep 1" | ||
| 329 | print "done" | ||
| 330 | print "echo ", cfr[jn], cpusr[jn] ovf ": Build complete. `date`"; | ||
| 331 | print "echo ", cfr[jn], cpusr[jn] ovf ": Build complete. `date` >> " rd "/log"; | ||
| 332 | jn++; | ||
| 333 | } | ||
| 334 | for (j = 1; j < jn; j++) { | ||
| 335 | builddir=KVM "/b" j | ||
| 336 | print "rm -f " builddir ".ready" | ||
| 337 | print "echo ----", cfr[j], cpusr[j] ovf ": Starting kernel. `date`"; | ||
| 338 | print "echo ----", cfr[j], cpusr[j] ovf ": Starting kernel. `date` >> " rd "/log"; | ||
| 339 | } | ||
| 340 | print "wait" | ||
| 341 | print "echo ---- All kernel runs complete. `date`"; | ||
| 342 | print "echo ---- All kernel runs complete. `date` >> " rd "/log"; | ||
| 343 | for (j = 1; j < jn; j++) { | ||
| 344 | builddir=KVM "/b" j | ||
| 345 | print "echo ----", cfr[j], cpusr[j] ovf ": Build/run results:"; | ||
| 346 | print "echo ----", cfr[j], cpusr[j] ovf ": Build/run results: >> " rd "/log"; | ||
| 347 | print "cat " rd cfr[j] "/kvm-test-1-run.sh.out"; | ||
| 348 | print "cat " rd cfr[j] "/kvm-test-1-run.sh.out >> " rd "/log"; | ||
| 349 | } | ||
| 350 | } | ||
| 351 | |||
| 352 | END { | ||
| 353 | njobs = i; | ||
| 354 | nc = ncpus; | ||
| 355 | first = 0; | ||
| 356 | |||
| 357 | # Each pass through the following loop considers one test. | ||
| 358 | for (i = 0; i < njobs; i++) { | ||
| 359 | if (ncpus == 0) { | ||
| 360 | # Sequential test specified, each test its own batch. | ||
| 361 | dump(i, i + 1); | ||
| 362 | first = i; | ||
| 363 | } else if (nc < cpus[i] && i != 0) { | ||
| 364 | # Out of CPUs, dump out a batch. | ||
| 365 | dump(first, i); | ||
| 366 | first = i; | ||
| 367 | nc = ncpus; | ||
| 368 | } | ||
| 369 | # Account for the CPUs needed by the current test. | ||
| 370 | nc -= cpus[i]; | ||
| 371 | } | ||
| 372 | # Dump the last batch. | ||
| 373 | if (ncpus != 0) | ||
| 374 | dump(first, i); | ||
| 375 | }' >> $T/script | ||
| 376 | |||
| 377 | if test "$dryrun" = script | ||
| 378 | then | ||
| 379 | # Dump out the script, but define the environment variables that | ||
| 380 | # it needs to run standalone. | ||
| 381 | echo CONFIGFRAG="$CONFIGFRAG; export CONFIGFRAG" | ||
| 382 | echo KVM="$KVM; export KVM" | ||
| 383 | echo KVPATH="$KVPATH; export KVPATH" | ||
| 384 | echo PATH="$PATH; export PATH" | ||
| 385 | echo RCU_BUILDONLY="$RCU_BUILDONLY; export RCU_BUILDONLY" | ||
| 386 | echo RCU_INITRD="$RCU_INITRD; export RCU_INITRD" | ||
| 387 | echo RCU_KMAKE_ARG="$RCU_KMAKE_ARG; export RCU_KMAKE_ARG" | ||
| 388 | echo RCU_QEMU_CMD="$RCU_QEMU_CMD; export RCU_QEMU_CMD" | ||
| 389 | echo RCU_QEMU_INTERACTIVE="$RCU_QEMU_INTERACTIVE; export RCU_QEMU_INTERACTIVE" | ||
| 390 | echo RCU_QEMU_MAC="$RCU_QEMU_MAC; export RCU_QEMU_MAC" | ||
| 391 | echo "mkdir -p "$resdir" || :" | ||
| 392 | echo "mkdir $resdir/$ds" | ||
| 393 | cat $T/script | ||
| 394 | exit 0 | ||
| 395 | elif test "$dryrun" = sched | ||
| 396 | then | ||
| 397 | # Extract the test run schedule from the script. | ||
| 398 | egrep 'start batch|Starting build\.' $T/script | | ||
| 399 | sed -e 's/:.*$//' -e 's/^echo //' | ||
| 400 | exit 0 | ||
| 401 | else | ||
| 402 | # Not a dryru, so run the script. | ||
| 403 | sh $T/script | ||
| 404 | fi | ||
| 405 | |||
| 207 | # Tracing: trace_event=rcu:rcu_grace_period,rcu:rcu_future_grace_period,rcu:rcu_grace_period_init,rcu:rcu_nocb_wake,rcu:rcu_preempt_task,rcu:rcu_unlock_preempted_task,rcu:rcu_quiescent_state_report,rcu:rcu_fqs,rcu:rcu_callback,rcu:rcu_kfree_callback,rcu:rcu_batch_start,rcu:rcu_invoke_callback,rcu:rcu_invoke_kfree_callback,rcu:rcu_batch_end,rcu:rcu_torture_read,rcu:rcu_barrier | 406 | # Tracing: trace_event=rcu:rcu_grace_period,rcu:rcu_future_grace_period,rcu:rcu_grace_period_init,rcu:rcu_nocb_wake,rcu:rcu_preempt_task,rcu:rcu_unlock_preempted_task,rcu:rcu_quiescent_state_report,rcu:rcu_fqs,rcu:rcu_callback,rcu:rcu_kfree_callback,rcu:rcu_batch_start,rcu:rcu_invoke_callback,rcu:rcu_invoke_kfree_callback,rcu:rcu_batch_end,rcu:rcu_torture_read,rcu:rcu_barrier |
| 208 | 407 | ||
| 408 | echo | ||
| 409 | echo | ||
| 209 | echo " --- `date` Test summary:" | 410 | echo " --- `date` Test summary:" |
| 411 | echo Results directory: $resdir/$ds | ||
| 210 | kvm-recheck.sh $resdir/$ds | 412 | kvm-recheck.sh $resdir/$ds |
diff --git a/tools/testing/selftests/rcutorture/configs/lock/BUSTED b/tools/testing/selftests/rcutorture/configs/lock/BUSTED new file mode 100644 index 000000000000..1d1da1477fc3 --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/lock/BUSTED | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | CONFIG_SMP=y | ||
| 2 | CONFIG_NR_CPUS=4 | ||
| 3 | CONFIG_HOTPLUG_CPU=y | ||
| 4 | CONFIG_PREEMPT_NONE=n | ||
| 5 | CONFIG_PREEMPT_VOLUNTARY=n | ||
| 6 | CONFIG_PREEMPT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/lock/BUSTED.boot b/tools/testing/selftests/rcutorture/configs/lock/BUSTED.boot new file mode 100644 index 000000000000..6386c15e9770 --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/lock/BUSTED.boot | |||
| @@ -0,0 +1 @@ | |||
| locktorture.torture_type=lock_busted | |||
diff --git a/tools/testing/selftests/rcutorture/configs/lock/CFLIST b/tools/testing/selftests/rcutorture/configs/lock/CFLIST new file mode 100644 index 000000000000..a061b22d1892 --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/lock/CFLIST | |||
| @@ -0,0 +1 @@ | |||
| LOCK01 | |||
diff --git a/tools/testing/selftests/rcutorture/configs/lock/CFcommon b/tools/testing/selftests/rcutorture/configs/lock/CFcommon new file mode 100644 index 000000000000..e372dc269254 --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/lock/CFcommon | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | CONFIG_LOCK_TORTURE_TEST=y | ||
| 2 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/lock/LOCK01 b/tools/testing/selftests/rcutorture/configs/lock/LOCK01 new file mode 100644 index 000000000000..a9625e3d6cd9 --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/lock/LOCK01 | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | CONFIG_SMP=y | ||
| 2 | CONFIG_NR_CPUS=8 | ||
| 3 | CONFIG_HOTPLUG_CPU=y | ||
| 4 | CONFIG_PREEMPT_NONE=n | ||
| 5 | CONFIG_PREEMPT_VOLUNTARY=n | ||
| 6 | CONFIG_PREEMPT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/lock/ver_functions.sh b/tools/testing/selftests/rcutorture/configs/lock/ver_functions.sh new file mode 100644 index 000000000000..9746ea1cd6c7 --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/lock/ver_functions.sh | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | # | ||
| 3 | # Kernel-version-dependent shell functions for the rest of the scripts. | ||
| 4 | # | ||
| 5 | # This program is free software; you can redistribute it and/or modify | ||
| 6 | # it under the terms of the GNU General Public License as published by | ||
| 7 | # the Free Software Foundation; either version 2 of the License, or | ||
| 8 | # (at your option) any later version. | ||
| 9 | # | ||
| 10 | # This program is distributed in the hope that it will be useful, | ||
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | # GNU General Public License for more details. | ||
| 14 | # | ||
| 15 | # You should have received a copy of the GNU General Public License | ||
| 16 | # along with this program; if not, you can access it online at | ||
| 17 | # http://www.gnu.org/licenses/gpl-2.0.html. | ||
| 18 | # | ||
| 19 | # Copyright (C) IBM Corporation, 2014 | ||
| 20 | # | ||
| 21 | # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> | ||
| 22 | |||
| 23 | # locktorture_param_onoff bootparam-string config-file | ||
| 24 | # | ||
| 25 | # Adds onoff locktorture module parameters to kernels having it. | ||
| 26 | locktorture_param_onoff () { | ||
| 27 | if ! bootparam_hotplug_cpu "$1" && configfrag_hotplug_cpu "$2" | ||
| 28 | then | ||
| 29 | echo CPU-hotplug kernel, adding locktorture onoff. 1>&2 | ||
| 30 | echo locktorture.onoff_interval=3 locktorture.onoff_holdoff=30 | ||
| 31 | fi | ||
| 32 | } | ||
| 33 | |||
| 34 | # per_version_boot_params bootparam-string config-file seconds | ||
| 35 | # | ||
| 36 | # Adds per-version torture-module parameters to kernels supporting them. | ||
| 37 | per_version_boot_params () { | ||
| 38 | echo $1 `locktorture_param_onoff "$1" "$2"` \ | ||
| 39 | locktorture.stat_interval=15 \ | ||
| 40 | locktorture.shutdown_secs=$3 \ | ||
| 41 | locktorture.locktorture_runnable=1 \ | ||
| 42 | locktorture.verbose=1 | ||
| 43 | } | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/BUSTED b/tools/testing/selftests/rcutorture/configs/rcu/BUSTED new file mode 100644 index 000000000000..48d8a245c7fa --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/rcu/BUSTED | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | CONFIG_RCU_TRACE=n | ||
| 2 | CONFIG_SMP=y | ||
| 3 | CONFIG_NR_CPUS=4 | ||
| 4 | CONFIG_HOTPLUG_CPU=y | ||
| 5 | CONFIG_PREEMPT_NONE=n | ||
| 6 | CONFIG_PREEMPT_VOLUNTARY=n | ||
| 7 | CONFIG_PREEMPT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/BUSTED.boot b/tools/testing/selftests/rcutorture/configs/rcu/BUSTED.boot new file mode 100644 index 000000000000..6804f9dcfc1b --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/rcu/BUSTED.boot | |||
| @@ -0,0 +1 @@ | |||
| rcutorture.torture_type=rcu_busted | |||
diff --git a/tools/testing/selftests/rcutorture/configs/CFLIST b/tools/testing/selftests/rcutorture/configs/rcu/CFLIST index cd3d29cb0a47..cd3d29cb0a47 100644 --- a/tools/testing/selftests/rcutorture/configs/CFLIST +++ b/tools/testing/selftests/rcutorture/configs/rcu/CFLIST | |||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/CFcommon b/tools/testing/selftests/rcutorture/configs/rcu/CFcommon new file mode 100644 index 000000000000..d2d2a86139db --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/rcu/CFcommon | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | CONFIG_RCU_TORTURE_TEST=y | ||
| 2 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/SRCU-N b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N index 10a0e27f4c75..9fbb41b9b314 100644 --- a/tools/testing/selftests/rcutorture/configs/SRCU-N +++ b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | CONFIG_RCU_TRACE=n | 1 | CONFIG_RCU_TRACE=n |
| 2 | CONFIG_SMP=y | 2 | CONFIG_SMP=y |
| 3 | CONFIG_NR_CPUS=8 | 3 | CONFIG_NR_CPUS=4 |
| 4 | CONFIG_HOTPLUG_CPU=y | 4 | CONFIG_HOTPLUG_CPU=y |
| 5 | CONFIG_PREEMPT_NONE=y | 5 | CONFIG_PREEMPT_NONE=y |
| 6 | CONFIG_PREEMPT_VOLUNTARY=n | 6 | CONFIG_PREEMPT_VOLUNTARY=n |
| 7 | CONFIG_PREEMPT=n | 7 | CONFIG_PREEMPT=n |
| 8 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/SRCU-N.boot b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N.boot index 238bfe3bd0cc..238bfe3bd0cc 100644 --- a/tools/testing/selftests/rcutorture/configs/SRCU-N.boot +++ b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N.boot | |||
diff --git a/tools/testing/selftests/rcutorture/configs/SRCU-P b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P index 6650e00c6d91..4b6f272dba27 100644 --- a/tools/testing/selftests/rcutorture/configs/SRCU-P +++ b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P | |||
| @@ -5,4 +5,3 @@ CONFIG_HOTPLUG_CPU=y | |||
| 5 | CONFIG_PREEMPT_NONE=n | 5 | CONFIG_PREEMPT_NONE=n |
| 6 | CONFIG_PREEMPT_VOLUNTARY=n | 6 | CONFIG_PREEMPT_VOLUNTARY=n |
| 7 | CONFIG_PREEMPT=y | 7 | CONFIG_PREEMPT=y |
| 8 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/SRCU-P.boot b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot index 238bfe3bd0cc..238bfe3bd0cc 100644 --- a/tools/testing/selftests/rcutorture/configs/SRCU-P.boot +++ b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot | |||
diff --git a/tools/testing/selftests/rcutorture/configs/TINY01 b/tools/testing/selftests/rcutorture/configs/rcu/TINY01 index 0c2823f21712..0a63e073a00c 100644 --- a/tools/testing/selftests/rcutorture/configs/TINY01 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TINY01 | |||
| @@ -10,4 +10,3 @@ CONFIG_RCU_TRACE=n | |||
| 10 | CONFIG_DEBUG_LOCK_ALLOC=n | 10 | CONFIG_DEBUG_LOCK_ALLOC=n |
| 11 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 11 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
| 12 | CONFIG_PREEMPT_COUNT=n | 12 | CONFIG_PREEMPT_COUNT=n |
| 13 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/TINY02 b/tools/testing/selftests/rcutorture/configs/rcu/TINY02 index e5072d7528b6..f4feaee40776 100644 --- a/tools/testing/selftests/rcutorture/configs/TINY02 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TINY02 | |||
| @@ -10,4 +10,3 @@ CONFIG_RCU_TRACE=y | |||
| 10 | CONFIG_DEBUG_LOCK_ALLOC=y | 10 | CONFIG_DEBUG_LOCK_ALLOC=y |
| 11 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 11 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
| 12 | CONFIG_PREEMPT_COUNT=y | 12 | CONFIG_PREEMPT_COUNT=y |
| 13 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE01 b/tools/testing/selftests/rcutorture/configs/rcu/TREE01 index 141119a00044..9c827ec59a97 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE01 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE01 | |||
| @@ -20,4 +20,3 @@ CONFIG_RCU_CPU_STALL_INFO=n | |||
| 20 | CONFIG_RCU_CPU_STALL_VERBOSE=n | 20 | CONFIG_RCU_CPU_STALL_VERBOSE=n |
| 21 | CONFIG_RCU_BOOST=n | 21 | CONFIG_RCU_BOOST=n |
| 22 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 22 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
| 23 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE01.boot b/tools/testing/selftests/rcutorture/configs/rcu/TREE01.boot index 0fc8a3428938..0fc8a3428938 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE01.boot +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE01.boot | |||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE02 b/tools/testing/selftests/rcutorture/configs/rcu/TREE02 index 2d4d09608528..1a777b5f68b5 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE02 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE02 | |||
| @@ -7,7 +7,7 @@ CONFIG_PREEMPT=y | |||
| 7 | CONFIG_HZ_PERIODIC=n | 7 | CONFIG_HZ_PERIODIC=n |
| 8 | CONFIG_NO_HZ_IDLE=y | 8 | CONFIG_NO_HZ_IDLE=y |
| 9 | CONFIG_NO_HZ_FULL=n | 9 | CONFIG_NO_HZ_FULL=n |
| 10 | CONFIG_RCU_FAST_NO_HZ=n | 10 | CONFIG_RCU_FAST_NO_HZ=n |
| 11 | CONFIG_RCU_TRACE=n | 11 | CONFIG_RCU_TRACE=n |
| 12 | CONFIG_HOTPLUG_CPU=n | 12 | CONFIG_HOTPLUG_CPU=n |
| 13 | CONFIG_SUSPEND=n | 13 | CONFIG_SUSPEND=n |
| @@ -23,4 +23,3 @@ CONFIG_RCU_CPU_STALL_INFO=n | |||
| 23 | CONFIG_RCU_CPU_STALL_VERBOSE=y | 23 | CONFIG_RCU_CPU_STALL_VERBOSE=y |
| 24 | CONFIG_RCU_BOOST=n | 24 | CONFIG_RCU_BOOST=n |
| 25 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 25 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
| 26 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE03 b/tools/testing/selftests/rcutorture/configs/rcu/TREE03 index a47de5be8a04..c1f111c1561b 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE03 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE03 | |||
| @@ -20,4 +20,3 @@ CONFIG_RCU_CPU_STALL_VERBOSE=n | |||
| 20 | CONFIG_RCU_BOOST=y | 20 | CONFIG_RCU_BOOST=y |
| 21 | CONFIG_RCU_BOOST_PRIO=2 | 21 | CONFIG_RCU_BOOST_PRIO=2 |
| 22 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 22 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
| 23 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE04 b/tools/testing/selftests/rcutorture/configs/rcu/TREE04 index 8d839b86a1d5..7dbd27ce17a4 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE04 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE04 | |||
| @@ -22,4 +22,3 @@ CONFIG_PROVE_RCU_DELAY=n | |||
| 22 | CONFIG_RCU_CPU_STALL_INFO=y | 22 | CONFIG_RCU_CPU_STALL_INFO=y |
| 23 | CONFIG_RCU_CPU_STALL_VERBOSE=y | 23 | CONFIG_RCU_CPU_STALL_VERBOSE=y |
| 24 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 24 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
| 25 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE04.boot b/tools/testing/selftests/rcutorture/configs/rcu/TREE04.boot index 0fc8a3428938..0fc8a3428938 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE04.boot +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE04.boot | |||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE05 b/tools/testing/selftests/rcutorture/configs/rcu/TREE05 index b5ba72ea25cb..d0f32e574743 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE05 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE05 | |||
| @@ -22,4 +22,3 @@ CONFIG_PROVE_RCU_DELAY=y | |||
| 22 | CONFIG_RCU_CPU_STALL_INFO=n | 22 | CONFIG_RCU_CPU_STALL_INFO=n |
| 23 | CONFIG_RCU_CPU_STALL_VERBOSE=n | 23 | CONFIG_RCU_CPU_STALL_VERBOSE=n |
| 24 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 24 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
| 25 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE05.boot b/tools/testing/selftests/rcutorture/configs/rcu/TREE05.boot index 3b42b8b033cd..3b42b8b033cd 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE05.boot +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE05.boot | |||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE06 b/tools/testing/selftests/rcutorture/configs/rcu/TREE06 index 7c95ab48d29f..2e477dfb9c57 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE06 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE06 | |||
| @@ -23,4 +23,3 @@ CONFIG_PROVE_RCU_DELAY=n | |||
| 23 | CONFIG_RCU_CPU_STALL_INFO=n | 23 | CONFIG_RCU_CPU_STALL_INFO=n |
| 24 | CONFIG_RCU_CPU_STALL_VERBOSE=n | 24 | CONFIG_RCU_CPU_STALL_VERBOSE=n |
| 25 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=y | 25 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=y |
| 26 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE07 b/tools/testing/selftests/rcutorture/configs/rcu/TREE07 index 1467404bdec1..042f86ef362a 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE07 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE07 | |||
| @@ -21,4 +21,3 @@ CONFIG_PROVE_RCU_DELAY=n | |||
| 21 | CONFIG_RCU_CPU_STALL_INFO=y | 21 | CONFIG_RCU_CPU_STALL_INFO=y |
| 22 | CONFIG_RCU_CPU_STALL_VERBOSE=n | 22 | CONFIG_RCU_CPU_STALL_VERBOSE=n |
| 23 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 23 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
| 24 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE08 b/tools/testing/selftests/rcutorture/configs/rcu/TREE08 index 7d097a61ac2a..3438cee1e3c5 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE08 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE08 | |||
| @@ -23,4 +23,3 @@ CONFIG_RCU_CPU_STALL_INFO=n | |||
| 23 | CONFIG_RCU_CPU_STALL_VERBOSE=n | 23 | CONFIG_RCU_CPU_STALL_VERBOSE=n |
| 24 | CONFIG_RCU_BOOST=n | 24 | CONFIG_RCU_BOOST=n |
| 25 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 25 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
| 26 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE08-T b/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T index 442c4e450ab3..bf4523d3e44c 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE08-T +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T | |||
| @@ -23,4 +23,3 @@ CONFIG_RCU_CPU_STALL_INFO=n | |||
| 23 | CONFIG_RCU_CPU_STALL_VERBOSE=n | 23 | CONFIG_RCU_CPU_STALL_VERBOSE=n |
| 24 | CONFIG_RCU_BOOST=n | 24 | CONFIG_RCU_BOOST=n |
| 25 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 25 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
| 26 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/TREE09 b/tools/testing/selftests/rcutorture/configs/rcu/TREE09 index 0d1ec0d3dfee..81e4f7c0bf0b 100644 --- a/tools/testing/selftests/rcutorture/configs/TREE09 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE09 | |||
| @@ -18,4 +18,3 @@ CONFIG_RCU_CPU_STALL_INFO=n | |||
| 18 | CONFIG_RCU_CPU_STALL_VERBOSE=n | 18 | CONFIG_RCU_CPU_STALL_VERBOSE=n |
| 19 | CONFIG_RCU_BOOST=n | 19 | CONFIG_RCU_BOOST=n |
| 20 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 20 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
| 21 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/CFLIST b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/CFLIST index 18223947bbcb..18223947bbcb 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/CFLIST +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/CFLIST | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/N1-S-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/N1-S-T-NH-SD-SMP-HP index d3ef873eb6e7..d3ef873eb6e7 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/N1-S-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/N1-S-T-NH-SD-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/N2-2-t-nh-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/N2-2-t-nh-sd-SMP-hp index 02e418572b1b..02e418572b1b 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/N2-2-t-nh-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/N2-2-t-nh-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/N3-3-T-nh-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/N3-3-T-nh-SD-SMP-hp index b3100f69c8cf..b3100f69c8cf 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/N3-3-T-nh-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/N3-3-T-nh-SD-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/N4-A-t-NH-sd-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/N4-A-t-NH-sd-SMP-HP index c56b44530725..c56b44530725 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/N4-A-t-NH-sd-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/N4-A-t-NH-sd-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/N5-U-T-NH-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/N5-U-T-NH-sd-SMP-hp index 90d924fea9e9..90d924fea9e9 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/N5-U-T-NH-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/N5-U-T-NH-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/NT1-nh b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/NT1-nh index 023f312a931c..023f312a931c 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/NT1-nh +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/NT1-nh | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/NT3-NH b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/NT3-NH index 6fd0235dae73..6fd0235dae73 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/NT3-NH +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/NT3-NH | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/P1-S-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P1-S-T-NH-SD-SMP-HP index f72402d7c13d..f72402d7c13d 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/P1-S-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P1-S-T-NH-SD-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/P2-2-t-nh-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P2-2-t-nh-sd-SMP-hp index 0f3b667d2a9f..0f3b667d2a9f 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/P2-2-t-nh-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P2-2-t-nh-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/P3-3-T-nh-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P3-3-T-nh-SD-SMP-hp index b035e141bf2a..b035e141bf2a 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/P3-3-T-nh-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P3-3-T-nh-SD-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/P4-A-t-NH-sd-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P4-A-t-NH-sd-SMP-HP index 3ccf6a9447f5..3ccf6a9447f5 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/P4-A-t-NH-sd-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P4-A-t-NH-sd-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/P5-U-T-NH-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P5-U-T-NH-sd-SMP-hp index ef624ce73d8e..ef624ce73d8e 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/P5-U-T-NH-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P5-U-T-NH-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/PT1-nh b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/PT1-nh index e3361c3894a1..e3361c3894a1 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/PT1-nh +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/PT1-nh | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/PT2-NH b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/PT2-NH index 64abfc3b4d94..64abfc3b4d94 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/PT2-NH +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/PT2-NH | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v0.0/ver_functions.sh b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/ver_functions.sh index e8052539af54..5ace37a89780 100644 --- a/tools/testing/selftests/rcutorture/configs/v0.0/ver_functions.sh +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/ver_functions.sh | |||
| @@ -20,16 +20,14 @@ | |||
| 20 | # | 20 | # |
| 21 | # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 21 | # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
| 22 | 22 | ||
| 23 | # rcutorture_param_n_barrier_cbs bootparam-string | 23 | # per_version_boot_params bootparam-string config-file seconds |
| 24 | # | 24 | # |
| 25 | # Adds n_barrier_cbs rcutorture module parameter to kernels having it. | 25 | # Adds per-version torture-module parameters to kernels supporting them. |
| 26 | rcutorture_param_n_barrier_cbs () { | 26 | # Which old kernels do not. |
| 27 | echo $1 | 27 | per_version_boot_params () { |
| 28 | } | 28 | echo rcutorture.stat_interval=15 \ |
| 29 | 29 | rcutorture.shutdown_secs=$3 \ | |
| 30 | # rcutorture_param_onoff bootparam-string config-file | 30 | rcutorture.rcutorture_runnable=1 \ |
| 31 | # | 31 | rcutorture.test_no_idle_hz=1 \ |
| 32 | # Adds onoff rcutorture module parameters to kernels having it. | 32 | rcutorture.verbose=1 |
| 33 | rcutorture_param_onoff () { | ||
| 34 | echo $1 | ||
| 35 | } | 33 | } |
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/CFLIST b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/CFLIST index da4cbc668f2a..da4cbc668f2a 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/CFLIST +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/CFLIST | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/N1-S-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N1-S-T-NH-SD-SMP-HP index d81e11d280aa..d81e11d280aa 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/N1-S-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N1-S-T-NH-SD-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/N2-2-t-nh-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N2-2-t-nh-sd-SMP-hp index 02e418572b1b..02e418572b1b 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/N2-2-t-nh-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N2-2-t-nh-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/N3-3-T-nh-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N3-3-T-nh-SD-SMP-hp index b3100f69c8cf..b3100f69c8cf 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/N3-3-T-nh-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N3-3-T-nh-SD-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/N4-A-t-NH-sd-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N4-A-t-NH-sd-SMP-HP index c56b44530725..c56b44530725 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/N4-A-t-NH-sd-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N4-A-t-NH-sd-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/N5-U-T-NH-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N5-U-T-NH-sd-SMP-hp index 90d924fea9e9..90d924fea9e9 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/N5-U-T-NH-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N5-U-T-NH-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/N6---t-nh-SD-smp-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N6---t-nh-SD-smp-hp index 0ccc36d72738..0ccc36d72738 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/N6---t-nh-SD-smp-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N6---t-nh-SD-smp-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/N7-4-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N7-4-T-NH-SD-SMP-HP index 3f640cf84973..3f640cf84973 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/N7-4-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N7-4-T-NH-SD-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/N8-2-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N8-2-T-NH-SD-SMP-HP index 285da2dd8ac3..285da2dd8ac3 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/N8-2-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/N8-2-T-NH-SD-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/NT1-nh b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/NT1-nh index 023f312a931c..023f312a931c 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/NT1-nh +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/NT1-nh | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/NT3-NH b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/NT3-NH index 6fd0235dae73..6fd0235dae73 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/NT3-NH +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/NT3-NH | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/P1-S-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P1-S-T-NH-SD-SMP-HP index 9647c44cf4b7..9647c44cf4b7 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/P1-S-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P1-S-T-NH-SD-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/P2-2-t-nh-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P2-2-t-nh-sd-SMP-hp index 0f3b667d2a9f..0f3b667d2a9f 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/P2-2-t-nh-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P2-2-t-nh-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/P3-3-T-nh-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P3-3-T-nh-SD-SMP-hp index b035e141bf2a..b035e141bf2a 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/P3-3-T-nh-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P3-3-T-nh-SD-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/P4-A-t-NH-sd-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P4-A-t-NH-sd-SMP-HP index 3ccf6a9447f5..3ccf6a9447f5 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/P4-A-t-NH-sd-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P4-A-t-NH-sd-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/P5-U-T-NH-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P5-U-T-NH-sd-SMP-hp index ef624ce73d8e..ef624ce73d8e 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/P5-U-T-NH-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P5-U-T-NH-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/P6---t-nh-SD-smp-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P6---t-nh-SD-smp-hp index f4c9175828bf..f4c9175828bf 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/P6---t-nh-SD-smp-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P6---t-nh-SD-smp-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/P7-4-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP index 77a8c5b75763..77a8c5b75763 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/P7-4-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/P7-4-T-NH-SD-SMP-HP-all b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-all index 0eecebc6e95f..0eecebc6e95f 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/P7-4-T-NH-SD-SMP-HP-all +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-all | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/P7-4-T-NH-SD-SMP-HP-none b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-none index 0eecebc6e95f..0eecebc6e95f 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/P7-4-T-NH-SD-SMP-HP-none +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-none | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/P7-4-T-NH-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-hp index 588bc70420cd..588bc70420cd 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/P7-4-T-NH-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/PT1-nh b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/PT1-nh index e3361c3894a1..e3361c3894a1 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/PT1-nh +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/PT1-nh | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.12/PT2-NH b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/PT2-NH index 64abfc3b4d94..64abfc3b4d94 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.12/PT2-NH +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/PT2-NH | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/CFLIST b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/CFLIST index 18223947bbcb..18223947bbcb 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/CFLIST +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/CFLIST | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/N1-S-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/N1-S-T-NH-SD-SMP-HP index d81e11d280aa..d81e11d280aa 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/N1-S-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/N1-S-T-NH-SD-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/N2-2-t-nh-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/N2-2-t-nh-sd-SMP-hp index 02e418572b1b..02e418572b1b 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/N2-2-t-nh-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/N2-2-t-nh-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/N3-3-T-nh-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/N3-3-T-nh-SD-SMP-hp index b3100f69c8cf..b3100f69c8cf 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/N3-3-T-nh-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/N3-3-T-nh-SD-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/N4-A-t-NH-sd-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/N4-A-t-NH-sd-SMP-HP index c56b44530725..c56b44530725 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/N4-A-t-NH-sd-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/N4-A-t-NH-sd-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/N5-U-T-NH-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/N5-U-T-NH-sd-SMP-hp index 90d924fea9e9..90d924fea9e9 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/N5-U-T-NH-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/N5-U-T-NH-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/NT1-nh b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/NT1-nh index 023f312a931c..023f312a931c 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/NT1-nh +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/NT1-nh | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/NT3-NH b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/NT3-NH index 6fd0235dae73..6fd0235dae73 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/NT3-NH +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/NT3-NH | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/P1-S-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P1-S-T-NH-SD-SMP-HP index 9647c44cf4b7..9647c44cf4b7 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/P1-S-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P1-S-T-NH-SD-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/P2-2-t-nh-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P2-2-t-nh-sd-SMP-hp index 0f3b667d2a9f..0f3b667d2a9f 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/P2-2-t-nh-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P2-2-t-nh-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/P3-3-T-nh-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P3-3-T-nh-SD-SMP-hp index b035e141bf2a..b035e141bf2a 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/P3-3-T-nh-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P3-3-T-nh-SD-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/P4-A-t-NH-sd-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P4-A-t-NH-sd-SMP-HP index 3ccf6a9447f5..3ccf6a9447f5 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/P4-A-t-NH-sd-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P4-A-t-NH-sd-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/P5-U-T-NH-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P5-U-T-NH-sd-SMP-hp index ef624ce73d8e..ef624ce73d8e 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/P5-U-T-NH-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P5-U-T-NH-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/PT1-nh b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/PT1-nh index e3361c3894a1..e3361c3894a1 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/PT1-nh +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/PT1-nh | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/PT2-NH b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/PT2-NH index 64abfc3b4d94..64abfc3b4d94 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/PT2-NH +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/PT2-NH | |||
diff --git a/tools/testing/selftests/rcutorture/configs/ver_functions.sh b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/ver_functions.sh index 5e40eadea777..bae55692ce6e 100644 --- a/tools/testing/selftests/rcutorture/configs/ver_functions.sh +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/ver_functions.sh | |||
| @@ -20,18 +20,6 @@ | |||
| 20 | # | 20 | # |
| 21 | # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 21 | # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
| 22 | 22 | ||
| 23 | # rcutorture_param_n_barrier_cbs bootparam-string | ||
| 24 | # | ||
| 25 | # Adds n_barrier_cbs rcutorture module parameter to kernels having it. | ||
| 26 | rcutorture_param_n_barrier_cbs () { | ||
| 27 | if echo $1 | grep -q "rcutorture\.n_barrier_cbs" | ||
| 28 | then | ||
| 29 | echo $1 | ||
| 30 | else | ||
| 31 | echo $1 rcutorture.n_barrier_cbs=4 | ||
| 32 | fi | ||
| 33 | } | ||
| 34 | |||
| 35 | # rcutorture_param_onoff bootparam-string config-file | 23 | # rcutorture_param_onoff bootparam-string config-file |
| 36 | # | 24 | # |
| 37 | # Adds onoff rcutorture module parameters to kernels having it. | 25 | # Adds onoff rcutorture module parameters to kernels having it. |
| @@ -39,8 +27,18 @@ rcutorture_param_onoff () { | |||
| 39 | if ! bootparam_hotplug_cpu "$1" && configfrag_hotplug_cpu "$2" | 27 | if ! bootparam_hotplug_cpu "$1" && configfrag_hotplug_cpu "$2" |
| 40 | then | 28 | then |
| 41 | echo CPU-hotplug kernel, adding rcutorture onoff. 1>&2 | 29 | echo CPU-hotplug kernel, adding rcutorture onoff. 1>&2 |
| 42 | echo $1 rcutorture.onoff_interval=3 rcutorture.onoff_holdoff=30 | 30 | echo rcutorture.onoff_interval=3 rcutorture.onoff_holdoff=30 |
| 43 | else | ||
| 44 | echo $1 | ||
| 45 | fi | 31 | fi |
| 46 | } | 32 | } |
| 33 | |||
| 34 | # per_version_boot_params bootparam-string config-file seconds | ||
| 35 | # | ||
| 36 | # Adds per-version torture-module parameters to kernels supporting them. | ||
| 37 | per_version_boot_params () { | ||
| 38 | echo $1 `rcutorture_param_onoff "$1" "$2"` \ | ||
| 39 | rcutorture.stat_interval=15 \ | ||
| 40 | rcutorture.shutdown_secs=$3 \ | ||
| 41 | rcutorture.rcutorture_runnable=1 \ | ||
| 42 | rcutorture.test_no_idle_hz=1 \ | ||
| 43 | rcutorture.verbose=1 | ||
| 44 | } | ||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/CFLIST b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/CFLIST index 18223947bbcb..18223947bbcb 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/CFLIST +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/CFLIST | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/N1-S-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/N1-S-T-NH-SD-SMP-HP index d81e11d280aa..d81e11d280aa 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/N1-S-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/N1-S-T-NH-SD-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/N2-2-t-nh-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/N2-2-t-nh-sd-SMP-hp index 02e418572b1b..02e418572b1b 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/N2-2-t-nh-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/N2-2-t-nh-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/N3-3-T-nh-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/N3-3-T-nh-SD-SMP-hp index b3100f69c8cf..b3100f69c8cf 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/N3-3-T-nh-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/N3-3-T-nh-SD-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/N4-A-t-NH-sd-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/N4-A-t-NH-sd-SMP-HP index c56b44530725..c56b44530725 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/N4-A-t-NH-sd-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/N4-A-t-NH-sd-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/N5-U-T-NH-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/N5-U-T-NH-sd-SMP-hp index 90d924fea9e9..90d924fea9e9 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/N5-U-T-NH-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/N5-U-T-NH-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/NT1-nh b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/NT1-nh index 023f312a931c..023f312a931c 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/NT1-nh +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/NT1-nh | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/NT3-NH b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/NT3-NH index 6fd0235dae73..6fd0235dae73 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/NT3-NH +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/NT3-NH | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/P1-S-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P1-S-T-NH-SD-SMP-HP index 9647c44cf4b7..9647c44cf4b7 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/P1-S-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P1-S-T-NH-SD-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/P2-2-t-nh-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P2-2-t-nh-sd-SMP-hp index 0f3b667d2a9f..0f3b667d2a9f 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/P2-2-t-nh-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P2-2-t-nh-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/P3-3-T-nh-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P3-3-T-nh-SD-SMP-hp index b035e141bf2a..b035e141bf2a 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/P3-3-T-nh-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P3-3-T-nh-SD-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/P4-A-t-NH-sd-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P4-A-t-NH-sd-SMP-HP index 3ccf6a9447f5..3ccf6a9447f5 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/P4-A-t-NH-sd-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P4-A-t-NH-sd-SMP-HP | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/P5-U-T-NH-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P5-U-T-NH-sd-SMP-hp index ef624ce73d8e..ef624ce73d8e 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/P5-U-T-NH-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P5-U-T-NH-sd-SMP-hp | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/PT1-nh b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/PT1-nh index e3361c3894a1..e3361c3894a1 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/PT1-nh +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/PT1-nh | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/PT2-NH b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/PT2-NH index 64abfc3b4d94..64abfc3b4d94 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/PT2-NH +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/PT2-NH | |||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.5/ver_functions.sh b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/ver_functions.sh index 6a5f13aab44d..8977d8d31b19 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.5/ver_functions.sh +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/ver_functions.sh | |||
| @@ -26,9 +26,9 @@ | |||
| 26 | rcutorture_param_n_barrier_cbs () { | 26 | rcutorture_param_n_barrier_cbs () { |
| 27 | if echo $1 | grep -q "rcutorture\.n_barrier_cbs" | 27 | if echo $1 | grep -q "rcutorture\.n_barrier_cbs" |
| 28 | then | 28 | then |
| 29 | echo $1 | 29 | : |
| 30 | else | 30 | else |
| 31 | echo $1 rcutorture.n_barrier_cbs=4 | 31 | echo rcutorture.n_barrier_cbs=4 |
| 32 | fi | 32 | fi |
| 33 | } | 33 | } |
| 34 | 34 | ||
| @@ -38,9 +38,20 @@ rcutorture_param_n_barrier_cbs () { | |||
| 38 | rcutorture_param_onoff () { | 38 | rcutorture_param_onoff () { |
| 39 | if ! bootparam_hotplug_cpu "$1" && configfrag_hotplug_cpu "$2" | 39 | if ! bootparam_hotplug_cpu "$1" && configfrag_hotplug_cpu "$2" |
| 40 | then | 40 | then |
| 41 | echo CPU-hotplug kernel, adding rcutorture onoff. | 41 | echo CPU-hotplug kernel, adding rcutorture onoff. 1>&2 |
| 42 | echo $1 rcutorture.onoff_interval=3 rcutorture.onoff_holdoff=30 | 42 | echo rcutorture.onoff_interval=3 rcutorture.onoff_holdoff=30 |
| 43 | else | ||
| 44 | echo $1 | ||
| 45 | fi | 43 | fi |
| 46 | } | 44 | } |
| 45 | |||
| 46 | # per_version_boot_params bootparam-string config-file seconds | ||
| 47 | # | ||
| 48 | # Adds per-version torture-module parameters to kernels supporting them. | ||
| 49 | per_version_boot_params () { | ||
| 50 | echo $1 `rcutorture_param_onoff "$1" "$2"` \ | ||
| 51 | `rcutorture_param_n_barrier_cbs "$1"` \ | ||
| 52 | rcutorture.stat_interval=15 \ | ||
| 53 | rcutorture.shutdown_secs=$3 \ | ||
| 54 | rcutorture.rcutorture_runnable=1 \ | ||
| 55 | rcutorture.test_no_idle_hz=1 \ | ||
| 56 | rcutorture.verbose=1 | ||
| 57 | } | ||
diff --git a/tools/testing/selftests/rcutorture/configs/v3.3/ver_functions.sh b/tools/testing/selftests/rcutorture/configs/rcu/ver_functions.sh index c37432f3572c..8977d8d31b19 100644 --- a/tools/testing/selftests/rcutorture/configs/v3.3/ver_functions.sh +++ b/tools/testing/selftests/rcutorture/configs/rcu/ver_functions.sh | |||
| @@ -24,7 +24,12 @@ | |||
| 24 | # | 24 | # |
| 25 | # Adds n_barrier_cbs rcutorture module parameter to kernels having it. | 25 | # Adds n_barrier_cbs rcutorture module parameter to kernels having it. |
| 26 | rcutorture_param_n_barrier_cbs () { | 26 | rcutorture_param_n_barrier_cbs () { |
| 27 | echo $1 | 27 | if echo $1 | grep -q "rcutorture\.n_barrier_cbs" |
| 28 | then | ||
| 29 | : | ||
| 30 | else | ||
| 31 | echo rcutorture.n_barrier_cbs=4 | ||
| 32 | fi | ||
| 28 | } | 33 | } |
| 29 | 34 | ||
| 30 | # rcutorture_param_onoff bootparam-string config-file | 35 | # rcutorture_param_onoff bootparam-string config-file |
| @@ -33,9 +38,20 @@ rcutorture_param_n_barrier_cbs () { | |||
| 33 | rcutorture_param_onoff () { | 38 | rcutorture_param_onoff () { |
| 34 | if ! bootparam_hotplug_cpu "$1" && configfrag_hotplug_cpu "$2" | 39 | if ! bootparam_hotplug_cpu "$1" && configfrag_hotplug_cpu "$2" |
| 35 | then | 40 | then |
| 36 | echo CPU-hotplug kernel, adding rcutorture onoff. | 41 | echo CPU-hotplug kernel, adding rcutorture onoff. 1>&2 |
| 37 | echo $1 rcutorture.onoff_interval=3 rcutorture.onoff_holdoff=30 | 42 | echo rcutorture.onoff_interval=3 rcutorture.onoff_holdoff=30 |
| 38 | else | ||
| 39 | echo $1 | ||
| 40 | fi | 43 | fi |
| 41 | } | 44 | } |
| 45 | |||
| 46 | # per_version_boot_params bootparam-string config-file seconds | ||
| 47 | # | ||
| 48 | # Adds per-version torture-module parameters to kernels supporting them. | ||
| 49 | per_version_boot_params () { | ||
| 50 | echo $1 `rcutorture_param_onoff "$1" "$2"` \ | ||
| 51 | `rcutorture_param_n_barrier_cbs "$1"` \ | ||
| 52 | rcutorture.stat_interval=15 \ | ||
| 53 | rcutorture.shutdown_secs=$3 \ | ||
| 54 | rcutorture.rcutorture_runnable=1 \ | ||
| 55 | rcutorture.test_no_idle_hz=1 \ | ||
| 56 | rcutorture.verbose=1 | ||
| 57 | } | ||
diff --git a/tools/testing/selftests/rcutorture/doc/TREE_RCU-Kconfig.txt b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt index adbb76cffb49..adbb76cffb49 100644 --- a/tools/testing/selftests/rcutorture/doc/TREE_RCU-Kconfig.txt +++ b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt | |||
