Skip to content

Commit 8ea7a53

Browse files
committed
rcutorture: Provide non-power-of-two Tasks RCU scenarios
This commit adjusts RUDE01 to 3 CPUs and TRACE01 to 5 CPUs in order to test Tasks RCU's ability to handle non-power-of-two numbers of CPUs. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
1 parent b5597cb commit 8ea7a53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/testing/selftests/rcutorture/configs/rcu/RUDE01

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CONFIG_SMP=y
2-
CONFIG_NR_CPUS=4
2+
CONFIG_NR_CPUS=3
33
CONFIG_HOTPLUG_CPU=y
44
CONFIG_PREEMPT_NONE=n
55
CONFIG_PREEMPT_VOLUNTARY=n

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CONFIG_SMP=y
2-
CONFIG_NR_CPUS=4
2+
CONFIG_NR_CPUS=5
33
CONFIG_HOTPLUG_CPU=y
44
CONFIG_PREEMPT_NONE=y
55
CONFIG_PREEMPT_VOLUNTARY=n

0 commit comments

Comments
 (0)