mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 11:26:42 +07:00
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@linux.vnet.ibm.com>
This commit is contained in:
parent
3c52f26227
commit
23ca096703
@ -9,6 +9,8 @@ TREE08
|
||||
TREE09
|
||||
SRCU-N
|
||||
SRCU-P
|
||||
SRCU-t
|
||||
SRCU-u
|
||||
TINY01
|
||||
TINY02
|
||||
TASKS01
|
||||
|
10
tools/testing/selftests/rcutorture/configs/rcu/SRCU-t
Normal file
10
tools/testing/selftests/rcutorture/configs/rcu/SRCU-t
Normal file
@ -0,0 +1,10 @@
|
||||
CONFIG_SMP=n
|
||||
CONFIG_PREEMPT_NONE=y
|
||||
CONFIG_PREEMPT_VOLUNTARY=n
|
||||
CONFIG_PREEMPT=n
|
||||
#CHECK#CONFIG_TINY_SRCU=y
|
||||
CONFIG_RCU_TRACE=n
|
||||
CONFIG_DEBUG_LOCK_ALLOC=n
|
||||
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
|
||||
CONFIG_DEBUG_ATOMIC_SLEEP=y
|
||||
#CHECK#CONFIG_PREEMPT_COUNT=y
|
@ -0,0 +1 @@
|
||||
rcutorture.torture_type=srcu
|
9
tools/testing/selftests/rcutorture/configs/rcu/SRCU-u
Normal file
9
tools/testing/selftests/rcutorture/configs/rcu/SRCU-u
Normal file
@ -0,0 +1,9 @@
|
||||
CONFIG_SMP=n
|
||||
CONFIG_PREEMPT_NONE=y
|
||||
CONFIG_PREEMPT_VOLUNTARY=n
|
||||
CONFIG_PREEMPT=n
|
||||
#CHECK#CONFIG_TINY_SRCU=y
|
||||
CONFIG_RCU_TRACE=n
|
||||
CONFIG_DEBUG_LOCK_ALLOC=n
|
||||
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
|
||||
CONFIG_PREEMPT_COUNT=n
|
@ -0,0 +1 @@
|
||||
rcutorture.torture_type=srcud
|
Loading…
Reference in New Issue
Block a user