Skip to content

Commit 4b5eb4b

Browse files
paulmckrcuJoel Fernandes
authored andcommitted
rcutorture: Reduce TREE01 CPU overcommit
The TREE01.boot nr_cpus kernel boot parameter has been set to 43 for more than seven years, but it can cause RCU CPU stall warnings on arm64, most of the time involving the stop-machine subsystem. This should not be too surprising, given that this causes 43 vCPUs to spin with interrupts disabled when there are only eight physical CPUs. The point of this CPU overcommit is to test the ability of expedited RCU grace period initialization to handle races with incoming CPUs that have never previously been online. But limiting to 17 CPUs instead of 43 allows time for this code to be exercised, and eliminates (or at least greatly reduces) the incidence of RCU CPU stall warnings on arm64. So this commit therefore sets nr_cpus=17 in TREE01.boot. Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Joel Fernandes <[email protected]>
1 parent d72e6c0 commit 4b5eb4b

File tree

1 file changed

+1
-1
lines changed
  • tools/testing/selftests/rcutorture/configs/rcu

1 file changed

+1
-1
lines changed

tools/testing/selftests/rcutorture/configs/rcu/TREE01.boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
maxcpus=8 nr_cpus=43
1+
maxcpus=8 nr_cpus=17
22
rcutree.gp_preinit_delay=3
33
rcutree.gp_init_delay=3
44
rcutree.gp_cleanup_delay=3

0 commit comments

Comments
 (0)