diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-07-21 13:35:10 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-09-07 16:24:45 -0700 |
commit | ae867ff03d09c2aec56b0443b8b04e5a3fa1e336 (patch) | |
tree | 5dcf8666e614728446264aee38f3e4265c8e549b /tools/testing/selftests/rcutorture/configs/rcu/TREE01 | |
parent | 9e62b0efdcead5b66c0c006df2f19a449b22cf08 (diff) | |
download | op-kernel-dev-ae867ff03d09c2aec56b0443b8b04e5a3fa1e336.zip op-kernel-dev-ae867ff03d09c2aec56b0443b8b04e5a3fa1e336.tar.gz |
rcutorture: Specify MAXSMP=y for TREE01
Setting CONFIG_MAXSMP=y causes cpumasks to be moved offstack, which
introduces the possibility of NULL cpumask_var_t pointers. This commit
therefore enables CONFIG_MAXSMP=y in TREE01 to increase test coverage.
However, because CONFIG_MAXSMP=y implies 8192 CPUs, we need to use
the maxcpus= boot parameter to limit the number of CPUs to something
reasonable, which in turn requires updating the scripts to handle this.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Diffstat (limited to 'tools/testing/selftests/rcutorture/configs/rcu/TREE01')
-rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE01 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE01 b/tools/testing/selftests/rcutorture/configs/rcu/TREE01 index 063b707..38e3895 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE01 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE01 @@ -1,5 +1,4 @@ CONFIG_SMP=y -CONFIG_NR_CPUS=8 CONFIG_PREEMPT_NONE=n CONFIG_PREEMPT_VOLUNTARY=n CONFIG_PREEMPT=y @@ -10,8 +9,7 @@ CONFIG_NO_HZ_FULL=n CONFIG_RCU_FAST_NO_HZ=y CONFIG_RCU_TRACE=y CONFIG_HOTPLUG_CPU=y -CONFIG_RCU_FANOUT=8 -CONFIG_RCU_FANOUT_EXACT=n +CONFIG_MAXSMP=y CONFIG_RCU_NOCB_CPU=y CONFIG_RCU_NOCB_CPU_ZERO=y CONFIG_DEBUG_LOCK_ALLOC=n |