Commit-ID: 23ca09670312a373d0b72bc7f87bd32323fb673f Gitweb: http://git.kernel.org/tip/23ca09670312a373d0b72bc7f87bd32323fb673f Author: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> AuthorDate: Mon, 10 Apr 2017 11:39:08 -0700 Committer: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> CommitDate: Thu, 8 Jun 2017 08:25:21 -0700 rcutorture: Add a scenario for Tiny SRCU This commit adds an SRCU-t rcutorture scenario for the new Tiny SRCU implementation, removing the need to pass the --bootargs parameter to kvm.sh to run Tiny SRCU tests. This commit also adds SRCU-t to the set of scenarios that are run by default. Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> --- tools/testing/selftests/rcutorture/configs/rcu/CFLIST | 2 ++ .../testing/selftests/rcutorture/configs/rcu/{TINY01 => SRCU-t} | 9 +++------ .../rcutorture/configs/rcu/{SRCU-N.boot => SRCU-t.boot} | 0 .../testing/selftests/rcutorture/configs/rcu/{TINY01 => SRCU-u} | 6 +----- .../rcutorture/configs/rcu/{SRCU-P.boot => SRCU-u.boot} | 0 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/tools/testing/selftests/rcutorture/configs/rcu/CFLIST b/tools/testing/selftests/rcutorture/configs/rcu/CFLIST index a3a1a05..6a0b9f6 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/CFLIST +++ b/tools/testing/selftests/rcutorture/configs/rcu/CFLIST @@ -9,6 +9,8 @@ TREE08 TREE09 SRCU-N SRCU-P +SRCU-t +SRCU-u TINY01 TINY02 TASKS01 diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TINY01 b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-t similarity index 52% copy from tools/testing/selftests/rcutorture/configs/rcu/TINY01 copy to tools/testing/selftests/rcutorture/configs/rcu/SRCU-t index 6db705e..6c78022 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TINY01 +++ b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-t @@ -2,12 +2,9 @@ CONFIG_SMP=n CONFIG_PREEMPT_NONE=y CONFIG_PREEMPT_VOLUNTARY=n CONFIG_PREEMPT=n -#CHECK#CONFIG_TINY_RCU=y -CONFIG_HZ_PERIODIC=n -CONFIG_NO_HZ_IDLE=y -CONFIG_NO_HZ_FULL=n +#CHECK#CONFIG_TINY_SRCU=y CONFIG_RCU_TRACE=n -#CHECK#CONFIG_RCU_STALL_COMMON=n CONFIG_DEBUG_LOCK_ALLOC=n CONFIG_DEBUG_OBJECTS_RCU_HEAD=n -CONFIG_PREEMPT_COUNT=n +CONFIG_DEBUG_ATOMIC_SLEEP=y +#CHECK#CONFIG_PREEMPT_COUNT=y diff --git a/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N.boot b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-t.boot similarity index 100% copy from tools/testing/selftests/rcutorture/configs/rcu/SRCU-N.boot copy to tools/testing/selftests/rcutorture/configs/rcu/SRCU-t.boot diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TINY01 b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-u similarity index 60% copy from tools/testing/selftests/rcutorture/configs/rcu/TINY01 copy to tools/testing/selftests/rcutorture/configs/rcu/SRCU-u index 6db705e..6bc24e9 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TINY01 +++ b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-u @@ -2,12 +2,8 @@ CONFIG_SMP=n CONFIG_PREEMPT_NONE=y CONFIG_PREEMPT_VOLUNTARY=n CONFIG_PREEMPT=n -#CHECK#CONFIG_TINY_RCU=y -CONFIG_HZ_PERIODIC=n -CONFIG_NO_HZ_IDLE=y -CONFIG_NO_HZ_FULL=n +#CHECK#CONFIG_TINY_SRCU=y CONFIG_RCU_TRACE=n -#CHECK#CONFIG_RCU_STALL_COMMON=n CONFIG_DEBUG_LOCK_ALLOC=n CONFIG_DEBUG_OBJECTS_RCU_HEAD=n CONFIG_PREEMPT_COUNT=n diff --git a/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-u.boot similarity index 100% copy from tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot copy to tools/testing/selftests/rcutorture/configs/rcu/SRCU-u.boot -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |