Skip to content

Commit 039f3cc

Browse files
committed
rcutorture: Add TRACE02 scenario enabling RCU Tasks Trace IPIs
This commit adds a TRACE02 scenario which enables preemption and RCU Tasks Trace IPIs, more specifically, disabling heavyweight readers. Signed-off-by: Paul E. McKenney <[email protected]>
1 parent edf3775 commit 039f3cc

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

tools/testing/selftests/rcutorture/configs/rcu/CFLIST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ TASKS02
1616
TASKS03
1717
RUDE01
1818
TRACE01
19+
TRACE02

tools/testing/selftests/rcutorture/configs/rcu/TRACE01

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ CONFIG_PREEMPT=n
77
CONFIG_DEBUG_LOCK_ALLOC=y
88
CONFIG_PROVE_LOCKING=y
99
#CHECK#CONFIG_PROVE_RCU=y
10+
CONFIG_TASKS_TRACE_RCU_READ_MB=y
1011
CONFIG_RCU_EXPERT=y
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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
7+
CONFIG_DEBUG_LOCK_ALLOC=n
8+
CONFIG_PROVE_LOCKING=n
9+
#CHECK#CONFIG_PROVE_RCU=n
10+
CONFIG_TASKS_TRACE_RCU_READ_MB=n
11+
CONFIG_RCU_EXPERT=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rcutorture.torture_type=tasks-tracing

0 commit comments

Comments
 (0)