diff options
Diffstat (limited to 'tools')
28 files changed, 72 insertions, 56 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/configinit.sh b/tools/testing/selftests/rcutorture/bin/configinit.sh index 15f1a17ca96e..3f81a1095206 100755 --- a/tools/testing/selftests/rcutorture/bin/configinit.sh +++ b/tools/testing/selftests/rcutorture/bin/configinit.sh | |||
@@ -66,7 +66,7 @@ make $buildloc $TORTURE_DEFCONFIG > $builddir/Make.defconfig.out 2>&1 | |||
66 | mv $builddir/.config $builddir/.config.sav | 66 | mv $builddir/.config $builddir/.config.sav |
67 | sh $T/upd.sh < $builddir/.config.sav > $builddir/.config | 67 | sh $T/upd.sh < $builddir/.config.sav > $builddir/.config |
68 | cp $builddir/.config $builddir/.config.new | 68 | cp $builddir/.config $builddir/.config.new |
69 | yes '' | make $buildloc oldconfig > $builddir/Make.modconfig.out 2>&1 | 69 | yes '' | make $buildloc oldconfig > $builddir/Make.oldconfig.out 2> $builddir/Make.oldconfig.err |
70 | 70 | ||
71 | # verify new config matches specification. | 71 | # verify new config matches specification. |
72 | configcheck.sh $builddir/.config $c | 72 | configcheck.sh $builddir/.config $c |
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh b/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh index 4f5b20f367a9..d86bdd6b6cc2 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh | |||
@@ -43,6 +43,10 @@ do | |||
43 | if test -f "$i/console.log" | 43 | if test -f "$i/console.log" |
44 | then | 44 | then |
45 | configcheck.sh $i/.config $i/ConfigFragment | 45 | configcheck.sh $i/.config $i/ConfigFragment |
46 | if test -r $i/Make.oldconfig.err | ||
47 | then | ||
48 | cat $i/Make.oldconfig.err | ||
49 | fi | ||
46 | parse-build.sh $i/Make.out $configfile | 50 | parse-build.sh $i/Make.out $configfile |
47 | parse-torture.sh $i/console.log $configfile | 51 | parse-torture.sh $i/console.log $configfile |
48 | parse-console.sh $i/console.log $configfile | 52 | parse-console.sh $i/console.log $configfile |
diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh index dd2812ceb0ba..fbe2dbff1e21 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm.sh | |||
@@ -55,7 +55,7 @@ usage () { | |||
55 | echo " --bootargs kernel-boot-arguments" | 55 | echo " --bootargs kernel-boot-arguments" |
56 | echo " --bootimage relative-path-to-kernel-boot-image" | 56 | echo " --bootimage relative-path-to-kernel-boot-image" |
57 | echo " --buildonly" | 57 | echo " --buildonly" |
58 | echo " --configs \"config-file list\"" | 58 | echo " --configs \"config-file list w/ repeat factor (3*TINY01)\"" |
59 | echo " --cpus N" | 59 | echo " --cpus N" |
60 | echo " --datestamp string" | 60 | echo " --datestamp string" |
61 | echo " --defconfig string" | 61 | echo " --defconfig string" |
@@ -178,13 +178,26 @@ fi | |||
178 | touch $T/cfgcpu | 178 | touch $T/cfgcpu |
179 | for CF in $configs | 179 | for CF in $configs |
180 | do | 180 | do |
181 | if test -f "$CONFIGFRAG/$CF" | 181 | case $CF in |
182 | [0-9]\**|[0-9][0-9]\**|[0-9][0-9][0-9]\**) | ||
183 | config_reps=`echo $CF | sed -e 's/\*.*$//'` | ||
184 | CF1=`echo $CF | sed -e 's/^[^*]*\*//'` | ||
185 | ;; | ||
186 | *) | ||
187 | config_reps=1 | ||
188 | CF1=$CF | ||
189 | ;; | ||
190 | esac | ||
191 | if test -f "$CONFIGFRAG/$CF1" | ||
182 | then | 192 | then |
183 | cpu_count=`configNR_CPUS.sh $CONFIGFRAG/$CF` | 193 | cpu_count=`configNR_CPUS.sh $CONFIGFRAG/$CF1` |
184 | cpu_count=`configfrag_boot_cpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$CF" "$cpu_count"` | 194 | cpu_count=`configfrag_boot_cpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$CF1" "$cpu_count"` |
185 | echo $CF $cpu_count >> $T/cfgcpu | 195 | for ((cur_rep=0;cur_rep<$config_reps;cur_rep++)) |
196 | do | ||
197 | echo $CF1 $cpu_count >> $T/cfgcpu | ||
198 | done | ||
186 | else | 199 | else |
187 | echo "The --configs file $CF does not exist, terminating." | 200 | echo "The --configs file $CF1 does not exist, terminating." |
188 | exit 1 | 201 | exit 1 |
189 | fi | 202 | fi |
190 | done | 203 | done |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/CFcommon b/tools/testing/selftests/rcutorture/configs/rcu/CFcommon index 49701218dc62..f824b4c9d9d9 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/CFcommon +++ b/tools/testing/selftests/rcutorture/configs/rcu/CFcommon | |||
@@ -1,3 +1,5 @@ | |||
1 | CONFIG_RCU_TORTURE_TEST=y | 1 | CONFIG_RCU_TORTURE_TEST=y |
2 | CONFIG_PRINTK_TIME=y | 2 | CONFIG_PRINTK_TIME=y |
3 | CONFIG_RCU_TORTURE_TEST_SLOW_CLEANUP=y | ||
3 | CONFIG_RCU_TORTURE_TEST_SLOW_INIT=y | 4 | CONFIG_RCU_TORTURE_TEST_SLOW_INIT=y |
5 | CONFIG_RCU_TORTURE_TEST_SLOW_PREINIT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N index 9fbb41b9b314..1a087c3c8bb8 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N +++ b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N | |||
@@ -5,3 +5,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_RCU_EXPERT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P index 4b6f272dba27..4837430a71c0 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P +++ b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P | |||
@@ -5,3 +5,4 @@ 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 | #CHECK#CONFIG_RCU_EXPERT=n | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot index 238bfe3bd0cc..84a7d51b7481 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot +++ b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot | |||
@@ -1 +1 @@ | |||
rcutorture.torture_type=srcu | rcutorture.torture_type=srcud | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TASKS01 b/tools/testing/selftests/rcutorture/configs/rcu/TASKS01 index 97f0a0b27ef7..2cc0e60eba6e 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TASKS01 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TASKS01 | |||
@@ -5,5 +5,6 @@ CONFIG_PREEMPT_NONE=n | |||
5 | CONFIG_PREEMPT_VOLUNTARY=n | 5 | CONFIG_PREEMPT_VOLUNTARY=n |
6 | CONFIG_PREEMPT=y | 6 | CONFIG_PREEMPT=y |
7 | CONFIG_DEBUG_LOCK_ALLOC=y | 7 | CONFIG_DEBUG_LOCK_ALLOC=y |
8 | CONFIG_PROVE_RCU=y | 8 | CONFIG_PROVE_LOCKING=n |
9 | CONFIG_TASKS_RCU=y | 9 | #CHECK#CONFIG_PROVE_RCU=n |
10 | CONFIG_RCU_EXPERT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TASKS02 b/tools/testing/selftests/rcutorture/configs/rcu/TASKS02 index 696d2ea74d13..ad2be91e5ee7 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TASKS02 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TASKS02 | |||
@@ -2,4 +2,3 @@ CONFIG_SMP=n | |||
2 | CONFIG_PREEMPT_NONE=y | 2 | CONFIG_PREEMPT_NONE=y |
3 | CONFIG_PREEMPT_VOLUNTARY=n | 3 | CONFIG_PREEMPT_VOLUNTARY=n |
4 | CONFIG_PREEMPT=n | 4 | CONFIG_PREEMPT=n |
5 | CONFIG_TASKS_RCU=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TASKS03 b/tools/testing/selftests/rcutorture/configs/rcu/TASKS03 index 9c60da5b5d1d..c70c51d5ded1 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TASKS03 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TASKS03 | |||
@@ -6,8 +6,8 @@ CONFIG_HIBERNATION=n | |||
6 | CONFIG_PREEMPT_NONE=n | 6 | CONFIG_PREEMPT_NONE=n |
7 | CONFIG_PREEMPT_VOLUNTARY=n | 7 | CONFIG_PREEMPT_VOLUNTARY=n |
8 | CONFIG_PREEMPT=y | 8 | CONFIG_PREEMPT=y |
9 | CONFIG_TASKS_RCU=y | ||
10 | CONFIG_HZ_PERIODIC=n | 9 | CONFIG_HZ_PERIODIC=n |
11 | CONFIG_NO_HZ_IDLE=n | 10 | CONFIG_NO_HZ_IDLE=n |
12 | CONFIG_NO_HZ_FULL=y | 11 | CONFIG_NO_HZ_FULL=y |
13 | CONFIG_NO_HZ_FULL_ALL=y | 12 | CONFIG_NO_HZ_FULL_ALL=y |
13 | #CHECK#CONFIG_RCU_EXPERT=n | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TINY02 b/tools/testing/selftests/rcutorture/configs/rcu/TINY02 index 36e41df3d27a..f1892e0371c9 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TINY02 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TINY02 | |||
@@ -8,7 +8,7 @@ CONFIG_NO_HZ_IDLE=n | |||
8 | CONFIG_NO_HZ_FULL=n | 8 | CONFIG_NO_HZ_FULL=n |
9 | CONFIG_RCU_TRACE=y | 9 | CONFIG_RCU_TRACE=y |
10 | CONFIG_PROVE_LOCKING=y | 10 | CONFIG_PROVE_LOCKING=y |
11 | CONFIG_PROVE_RCU=y | 11 | #CHECK#CONFIG_PROVE_RCU=y |
12 | CONFIG_DEBUG_LOCK_ALLOC=y | 12 | CONFIG_DEBUG_LOCK_ALLOC=y |
13 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 13 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
14 | CONFIG_PREEMPT_COUNT=y | 14 | CONFIG_PREEMPT_COUNT=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot b/tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot index 0f0802730014..6c1a292a65fb 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot +++ b/tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot | |||
@@ -1,2 +1,3 @@ | |||
1 | rcupdate.rcu_self_test=1 | 1 | rcupdate.rcu_self_test=1 |
2 | rcupdate.rcu_self_test_bh=1 | 2 | rcupdate.rcu_self_test_bh=1 |
3 | rcutorture.torture_type=rcu_bh | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE01 b/tools/testing/selftests/rcutorture/configs/rcu/TREE01 index f8a10a7500c6..8e9137f66831 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE01 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE01 | |||
@@ -16,3 +16,4 @@ CONFIG_DEBUG_LOCK_ALLOC=n | |||
16 | CONFIG_RCU_CPU_STALL_INFO=n | 16 | CONFIG_RCU_CPU_STALL_INFO=n |
17 | CONFIG_RCU_BOOST=n | 17 | CONFIG_RCU_BOOST=n |
18 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 18 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
19 | CONFIG_RCU_EXPERT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE02 b/tools/testing/selftests/rcutorture/configs/rcu/TREE02 index 629122fb8b4a..aeea6a204d14 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE02 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE02 | |||
@@ -14,10 +14,10 @@ CONFIG_SUSPEND=n | |||
14 | CONFIG_HIBERNATION=n | 14 | CONFIG_HIBERNATION=n |
15 | CONFIG_RCU_FANOUT=3 | 15 | CONFIG_RCU_FANOUT=3 |
16 | CONFIG_RCU_FANOUT_LEAF=3 | 16 | CONFIG_RCU_FANOUT_LEAF=3 |
17 | CONFIG_RCU_FANOUT_EXACT=n | ||
18 | CONFIG_RCU_NOCB_CPU=n | 17 | CONFIG_RCU_NOCB_CPU=n |
19 | CONFIG_DEBUG_LOCK_ALLOC=y | 18 | CONFIG_DEBUG_LOCK_ALLOC=y |
20 | CONFIG_PROVE_LOCKING=n | 19 | CONFIG_PROVE_LOCKING=n |
21 | CONFIG_RCU_CPU_STALL_INFO=n | 20 | CONFIG_RCU_CPU_STALL_INFO=n |
22 | CONFIG_RCU_BOOST=n | 21 | CONFIG_RCU_BOOST=n |
23 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 22 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
23 | CONFIG_RCU_EXPERT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE02-T b/tools/testing/selftests/rcutorture/configs/rcu/TREE02-T index a25de47888a4..2ac9e68ea3d1 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE02-T +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE02-T | |||
@@ -14,7 +14,6 @@ CONFIG_SUSPEND=n | |||
14 | CONFIG_HIBERNATION=n | 14 | CONFIG_HIBERNATION=n |
15 | CONFIG_RCU_FANOUT=3 | 15 | CONFIG_RCU_FANOUT=3 |
16 | CONFIG_RCU_FANOUT_LEAF=3 | 16 | CONFIG_RCU_FANOUT_LEAF=3 |
17 | CONFIG_RCU_FANOUT_EXACT=n | ||
18 | CONFIG_RCU_NOCB_CPU=n | 17 | CONFIG_RCU_NOCB_CPU=n |
19 | CONFIG_DEBUG_LOCK_ALLOC=y | 18 | CONFIG_DEBUG_LOCK_ALLOC=y |
20 | CONFIG_PROVE_LOCKING=n | 19 | CONFIG_PROVE_LOCKING=n |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE03 b/tools/testing/selftests/rcutorture/configs/rcu/TREE03 index 53f24e0a0ab6..72aa7d87ea99 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE03 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE03 | |||
@@ -1,5 +1,5 @@ | |||
1 | CONFIG_SMP=y | 1 | CONFIG_SMP=y |
2 | CONFIG_NR_CPUS=8 | 2 | CONFIG_NR_CPUS=16 |
3 | CONFIG_PREEMPT_NONE=n | 3 | CONFIG_PREEMPT_NONE=n |
4 | CONFIG_PREEMPT_VOLUNTARY=n | 4 | CONFIG_PREEMPT_VOLUNTARY=n |
5 | CONFIG_PREEMPT=y | 5 | CONFIG_PREEMPT=y |
@@ -9,12 +9,12 @@ CONFIG_NO_HZ_IDLE=n | |||
9 | CONFIG_NO_HZ_FULL=n | 9 | CONFIG_NO_HZ_FULL=n |
10 | CONFIG_RCU_TRACE=y | 10 | CONFIG_RCU_TRACE=y |
11 | CONFIG_HOTPLUG_CPU=y | 11 | CONFIG_HOTPLUG_CPU=y |
12 | CONFIG_RCU_FANOUT=4 | 12 | CONFIG_RCU_FANOUT=2 |
13 | CONFIG_RCU_FANOUT_LEAF=4 | 13 | CONFIG_RCU_FANOUT_LEAF=2 |
14 | CONFIG_RCU_FANOUT_EXACT=n | ||
15 | CONFIG_RCU_NOCB_CPU=n | 14 | CONFIG_RCU_NOCB_CPU=n |
16 | CONFIG_DEBUG_LOCK_ALLOC=n | 15 | CONFIG_DEBUG_LOCK_ALLOC=n |
17 | CONFIG_RCU_CPU_STALL_INFO=n | 16 | CONFIG_RCU_CPU_STALL_INFO=n |
18 | CONFIG_RCU_BOOST=y | 17 | CONFIG_RCU_BOOST=y |
19 | CONFIG_RCU_KTHREAD_PRIO=2 | 18 | CONFIG_RCU_KTHREAD_PRIO=2 |
20 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 19 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
20 | CONFIG_RCU_EXPERT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot b/tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot new file mode 100644 index 000000000000..120c0c88d100 --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot | |||
@@ -0,0 +1 @@ | |||
rcutorture.onoff_interval=1 rcutorture.onoff_holdoff=30 | |||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE04 b/tools/testing/selftests/rcutorture/configs/rcu/TREE04 index 0f84db35b36d..3f5112751cda 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE04 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE04 | |||
@@ -13,10 +13,10 @@ CONFIG_RCU_TRACE=y | |||
13 | CONFIG_HOTPLUG_CPU=n | 13 | CONFIG_HOTPLUG_CPU=n |
14 | CONFIG_SUSPEND=n | 14 | CONFIG_SUSPEND=n |
15 | CONFIG_HIBERNATION=n | 15 | CONFIG_HIBERNATION=n |
16 | CONFIG_RCU_FANOUT=2 | 16 | CONFIG_RCU_FANOUT=4 |
17 | CONFIG_RCU_FANOUT_LEAF=2 | 17 | CONFIG_RCU_FANOUT_LEAF=4 |
18 | CONFIG_RCU_FANOUT_EXACT=n | ||
19 | CONFIG_RCU_NOCB_CPU=n | 18 | CONFIG_RCU_NOCB_CPU=n |
20 | CONFIG_DEBUG_LOCK_ALLOC=n | 19 | CONFIG_DEBUG_LOCK_ALLOC=n |
21 | CONFIG_RCU_CPU_STALL_INFO=y | 20 | CONFIG_RCU_CPU_STALL_INFO=n |
22 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 21 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
22 | CONFIG_RCU_EXPERT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE05 b/tools/testing/selftests/rcutorture/configs/rcu/TREE05 index 212e3bfd2b2a..c04dfea6fd21 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE05 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE05 | |||
@@ -12,11 +12,11 @@ CONFIG_RCU_TRACE=n | |||
12 | CONFIG_HOTPLUG_CPU=y | 12 | CONFIG_HOTPLUG_CPU=y |
13 | CONFIG_RCU_FANOUT=6 | 13 | CONFIG_RCU_FANOUT=6 |
14 | CONFIG_RCU_FANOUT_LEAF=6 | 14 | CONFIG_RCU_FANOUT_LEAF=6 |
15 | CONFIG_RCU_FANOUT_EXACT=n | ||
16 | CONFIG_RCU_NOCB_CPU=y | 15 | CONFIG_RCU_NOCB_CPU=y |
17 | CONFIG_RCU_NOCB_CPU_NONE=y | 16 | CONFIG_RCU_NOCB_CPU_NONE=y |
18 | CONFIG_DEBUG_LOCK_ALLOC=y | 17 | CONFIG_DEBUG_LOCK_ALLOC=y |
19 | CONFIG_PROVE_LOCKING=y | 18 | CONFIG_PROVE_LOCKING=y |
20 | CONFIG_PROVE_RCU=y | 19 | #CHECK#CONFIG_PROVE_RCU=y |
21 | CONFIG_RCU_CPU_STALL_INFO=n | 20 | CONFIG_RCU_CPU_STALL_INFO=n |
22 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 21 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
22 | CONFIG_RCU_EXPERT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE06 b/tools/testing/selftests/rcutorture/configs/rcu/TREE06 index 7eee63b44218..f51d2c73a68e 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE06 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE06 | |||
@@ -14,10 +14,10 @@ CONFIG_SUSPEND=n | |||
14 | CONFIG_HIBERNATION=n | 14 | CONFIG_HIBERNATION=n |
15 | CONFIG_RCU_FANOUT=6 | 15 | CONFIG_RCU_FANOUT=6 |
16 | CONFIG_RCU_FANOUT_LEAF=6 | 16 | CONFIG_RCU_FANOUT_LEAF=6 |
17 | CONFIG_RCU_FANOUT_EXACT=y | ||
18 | CONFIG_RCU_NOCB_CPU=n | 17 | CONFIG_RCU_NOCB_CPU=n |
19 | CONFIG_DEBUG_LOCK_ALLOC=y | 18 | CONFIG_DEBUG_LOCK_ALLOC=y |
20 | CONFIG_PROVE_LOCKING=y | 19 | CONFIG_PROVE_LOCKING=y |
21 | CONFIG_PROVE_RCU=y | 20 | #CHECK#CONFIG_PROVE_RCU=y |
22 | CONFIG_RCU_CPU_STALL_INFO=n | 21 | CONFIG_RCU_CPU_STALL_INFO=n |
23 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=y | 22 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=y |
23 | CONFIG_RCU_EXPERT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE06.boot b/tools/testing/selftests/rcutorture/configs/rcu/TREE06.boot index da9a03a398db..dd90f28ed700 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE06.boot +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE06.boot | |||
@@ -1,3 +1,4 @@ | |||
1 | rcupdate.rcu_self_test=1 | 1 | rcupdate.rcu_self_test=1 |
2 | rcupdate.rcu_self_test_bh=1 | 2 | rcupdate.rcu_self_test_bh=1 |
3 | rcupdate.rcu_self_test_sched=1 | 3 | rcupdate.rcu_self_test_sched=1 |
4 | rcutree.rcu_fanout_exact=1 | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE07 b/tools/testing/selftests/rcutorture/configs/rcu/TREE07 index 92a97fa97dec..f422af4ff5a3 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE07 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE07 | |||
@@ -15,8 +15,8 @@ CONFIG_RCU_TRACE=y | |||
15 | CONFIG_HOTPLUG_CPU=y | 15 | CONFIG_HOTPLUG_CPU=y |
16 | CONFIG_RCU_FANOUT=2 | 16 | CONFIG_RCU_FANOUT=2 |
17 | CONFIG_RCU_FANOUT_LEAF=2 | 17 | CONFIG_RCU_FANOUT_LEAF=2 |
18 | CONFIG_RCU_FANOUT_EXACT=n | ||
19 | CONFIG_RCU_NOCB_CPU=n | 18 | CONFIG_RCU_NOCB_CPU=n |
20 | CONFIG_DEBUG_LOCK_ALLOC=n | 19 | CONFIG_DEBUG_LOCK_ALLOC=n |
21 | CONFIG_RCU_CPU_STALL_INFO=y | 20 | CONFIG_RCU_CPU_STALL_INFO=n |
22 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 21 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
22 | CONFIG_RCU_EXPERT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE08 b/tools/testing/selftests/rcutorture/configs/rcu/TREE08 index 5812027d6f9f..a24d2ca30646 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE08 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE08 | |||
@@ -1,5 +1,5 @@ | |||
1 | CONFIG_SMP=y | 1 | CONFIG_SMP=y |
2 | CONFIG_NR_CPUS=16 | 2 | CONFIG_NR_CPUS=8 |
3 | CONFIG_PREEMPT_NONE=n | 3 | CONFIG_PREEMPT_NONE=n |
4 | CONFIG_PREEMPT_VOLUNTARY=n | 4 | CONFIG_PREEMPT_VOLUNTARY=n |
5 | CONFIG_PREEMPT=y | 5 | CONFIG_PREEMPT=y |
@@ -13,13 +13,13 @@ CONFIG_HOTPLUG_CPU=n | |||
13 | CONFIG_SUSPEND=n | 13 | CONFIG_SUSPEND=n |
14 | CONFIG_HIBERNATION=n | 14 | CONFIG_HIBERNATION=n |
15 | CONFIG_RCU_FANOUT=3 | 15 | CONFIG_RCU_FANOUT=3 |
16 | CONFIG_RCU_FANOUT_EXACT=y | ||
17 | CONFIG_RCU_FANOUT_LEAF=2 | 16 | CONFIG_RCU_FANOUT_LEAF=2 |
18 | CONFIG_RCU_NOCB_CPU=y | 17 | CONFIG_RCU_NOCB_CPU=y |
19 | CONFIG_RCU_NOCB_CPU_ALL=y | 18 | CONFIG_RCU_NOCB_CPU_ALL=y |
20 | CONFIG_DEBUG_LOCK_ALLOC=n | 19 | CONFIG_DEBUG_LOCK_ALLOC=n |
21 | CONFIG_PROVE_LOCKING=y | 20 | CONFIG_PROVE_LOCKING=y |
22 | CONFIG_PROVE_RCU=y | 21 | #CHECK#CONFIG_PROVE_RCU=y |
23 | CONFIG_RCU_CPU_STALL_INFO=n | 22 | CONFIG_RCU_CPU_STALL_INFO=n |
24 | CONFIG_RCU_BOOST=n | 23 | CONFIG_RCU_BOOST=n |
25 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 24 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
25 | CONFIG_RCU_EXPERT=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T b/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T index 3eaeccacb083..b2b8cea69dc9 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T | |||
@@ -13,7 +13,6 @@ CONFIG_HOTPLUG_CPU=n | |||
13 | CONFIG_SUSPEND=n | 13 | CONFIG_SUSPEND=n |
14 | CONFIG_HIBERNATION=n | 14 | CONFIG_HIBERNATION=n |
15 | CONFIG_RCU_FANOUT=3 | 15 | CONFIG_RCU_FANOUT=3 |
16 | CONFIG_RCU_FANOUT_EXACT=y | ||
17 | CONFIG_RCU_FANOUT_LEAF=2 | 16 | CONFIG_RCU_FANOUT_LEAF=2 |
18 | CONFIG_RCU_NOCB_CPU=y | 17 | CONFIG_RCU_NOCB_CPU=y |
19 | CONFIG_RCU_NOCB_CPU_ALL=y | 18 | CONFIG_RCU_NOCB_CPU_ALL=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T.boot b/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T.boot new file mode 100644 index 000000000000..883149b5f2d1 --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T.boot | |||
@@ -0,0 +1 @@ | |||
rcutree.rcu_fanout_exact=1 | |||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot b/tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot index 2561daf605ad..fb066dc82769 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot | |||
@@ -1,3 +1,4 @@ | |||
1 | rcutorture.torture_type=sched | 1 | rcutorture.torture_type=sched |
2 | rcupdate.rcu_self_test=1 | 2 | rcupdate.rcu_self_test=1 |
3 | rcupdate.rcu_self_test_sched=1 | 3 | rcupdate.rcu_self_test_sched=1 |
4 | rcutree.rcu_fanout_exact=1 | ||
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE09 b/tools/testing/selftests/rcutorture/configs/rcu/TREE09 index 6076b36f6c0b..aa4ed08d999d 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE09 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE09 | |||
@@ -16,3 +16,4 @@ CONFIG_DEBUG_LOCK_ALLOC=n | |||
16 | CONFIG_RCU_CPU_STALL_INFO=n | 16 | CONFIG_RCU_CPU_STALL_INFO=n |
17 | CONFIG_RCU_BOOST=n | 17 | CONFIG_RCU_BOOST=n |
18 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 18 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
19 | #CHECK#CONFIG_RCU_EXPERT=n | ||
diff --git a/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt index ec03c883db00..b24c0004fc49 100644 --- a/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt +++ b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt | |||
@@ -12,13 +12,12 @@ CONFIG_NO_HZ_IDLE -- Do those not otherwise specified. (Groups of two.) | |||
12 | CONFIG_NO_HZ_FULL -- Do two, one with CONFIG_NO_HZ_FULL_SYSIDLE. | 12 | CONFIG_NO_HZ_FULL -- Do two, one with CONFIG_NO_HZ_FULL_SYSIDLE. |
13 | CONFIG_NO_HZ_FULL_SYSIDLE -- Do one. | 13 | CONFIG_NO_HZ_FULL_SYSIDLE -- Do one. |
14 | CONFIG_PREEMPT -- Do half. (First three and #8.) | 14 | CONFIG_PREEMPT -- Do half. (First three and #8.) |
15 | CONFIG_PROVE_LOCKING -- Do all but two, covering CONFIG_PROVE_RCU and not. | 15 | CONFIG_PROVE_LOCKING -- Do several, covering CONFIG_DEBUG_LOCK_ALLOC=y and not. |
16 | CONFIG_PROVE_RCU -- Do all but one under CONFIG_PROVE_LOCKING. | 16 | CONFIG_PROVE_RCU -- Hardwired to CONFIG_PROVE_LOCKING. |
17 | CONFIG_RCU_BOOST -- one of PREEMPT_RCU. | 17 | CONFIG_RCU_BOOST -- one of PREEMPT_RCU. |
18 | CONFIG_RCU_KTHREAD_PRIO -- set to 2 for _BOOST testing. | 18 | CONFIG_RCU_KTHREAD_PRIO -- set to 2 for _BOOST testing. |
19 | CONFIG_RCU_CPU_STALL_INFO -- Do one. | 19 | CONFIG_RCU_CPU_STALL_INFO -- Now default, avoid at least twice. |
20 | CONFIG_RCU_FANOUT -- Cover hierarchy as currently, but overlap with others. | 20 | CONFIG_RCU_FANOUT -- Cover hierarchy, but overlap with others. |
21 | CONFIG_RCU_FANOUT_EXACT -- Do one. | ||
22 | CONFIG_RCU_FANOUT_LEAF -- Do one non-default. | 21 | CONFIG_RCU_FANOUT_LEAF -- Do one non-default. |
23 | CONFIG_RCU_FAST_NO_HZ -- Do one, but not with CONFIG_RCU_NOCB_CPU_ALL. | 22 | CONFIG_RCU_FAST_NO_HZ -- Do one, but not with CONFIG_RCU_NOCB_CPU_ALL. |
24 | CONFIG_RCU_NOCB_CPU -- Do three, see below. | 23 | CONFIG_RCU_NOCB_CPU -- Do three, see below. |
@@ -27,28 +26,19 @@ CONFIG_RCU_NOCB_CPU_NONE -- Do one. | |||
27 | CONFIG_RCU_NOCB_CPU_ZERO -- Do one. | 26 | CONFIG_RCU_NOCB_CPU_ZERO -- Do one. |
28 | CONFIG_RCU_TRACE -- Do half. | 27 | CONFIG_RCU_TRACE -- Do half. |
29 | CONFIG_SMP -- Need one !SMP for PREEMPT_RCU. | 28 | CONFIG_SMP -- Need one !SMP for PREEMPT_RCU. |
29 | !RCU_EXPERT -- Do a few, but these have to be vanilla configurations. | ||
30 | RCU-bh: Do one with PREEMPT and one with !PREEMPT. | 30 | RCU-bh: Do one with PREEMPT and one with !PREEMPT. |
31 | RCU-sched: Do one with PREEMPT but not BOOST. | 31 | RCU-sched: Do one with PREEMPT but not BOOST. |
32 | 32 | ||
33 | 33 | ||
34 | Hierarchy: | 34 | Boot parameters: |
35 | 35 | ||
36 | TREE01. CONFIG_NR_CPUS=8, CONFIG_RCU_FANOUT=8, CONFIG_RCU_FANOUT_EXACT=n. | 36 | nohz_full - do at least one. |
37 | TREE02. CONFIG_NR_CPUS=8, CONFIG_RCU_FANOUT=3, CONFIG_RCU_FANOUT_EXACT=n, | 37 | maxcpu -- do at least one. |
38 | CONFIG_RCU_FANOUT_LEAF=3. | 38 | rcupdate.rcu_self_test_bh -- Do at least one each, offloaded and not. |
39 | TREE03. CONFIG_NR_CPUS=8, CONFIG_RCU_FANOUT=4, CONFIG_RCU_FANOUT_EXACT=n, | 39 | rcupdate.rcu_self_test_sched -- Do at least one each, offloaded and not. |
40 | CONFIG_RCU_FANOUT_LEAF=4. | 40 | rcupdate.rcu_self_test -- Do at least one each, offloaded and not. |
41 | TREE04. CONFIG_NR_CPUS=8, CONFIG_RCU_FANOUT=2, CONFIG_RCU_FANOUT_EXACT=n, | 41 | rcutree.rcu_fanout_exact -- Do at least one. |
42 | CONFIG_RCU_FANOUT_LEAF=2. | ||
43 | TREE05. CONFIG_NR_CPUS=8, CONFIG_RCU_FANOUT=6, CONFIG_RCU_FANOUT_EXACT=n | ||
44 | CONFIG_RCU_FANOUT_LEAF=6. | ||
45 | TREE06. CONFIG_NR_CPUS=8, CONFIG_RCU_FANOUT=6, CONFIG_RCU_FANOUT_EXACT=y | ||
46 | CONFIG_RCU_FANOUT_LEAF=6. | ||
47 | TREE07. CONFIG_NR_CPUS=16, CONFIG_RCU_FANOUT=2, CONFIG_RCU_FANOUT_EXACT=n, | ||
48 | CONFIG_RCU_FANOUT_LEAF=2. | ||
49 | TREE08. CONFIG_NR_CPUS=16, CONFIG_RCU_FANOUT=3, CONFIG_RCU_FANOUT_EXACT=y, | ||
50 | CONFIG_RCU_FANOUT_LEAF=2. | ||
51 | TREE09. CONFIG_NR_CPUS=1. | ||
52 | 42 | ||
53 | 43 | ||
54 | Kconfig Parameters Ignored: | 44 | Kconfig Parameters Ignored: |