[tip: core/rcu] rcutorture: Use "all" and "N" in "nohz_full" and "rcu_nocbs"

From: tip-bot2 for Paul E. McKenney
Date: Sun Apr 11 2021 - 09:50:37 EST


The following commit has been merged into the core/rcu branch of tip:

Commit-ID: c71c39b344f7eec9d4492913f22126b03bb7b746
Gitweb: https://git.kernel.org/tip/c71c39b344f7eec9d4492913f22126b03bb7b746
Author: Paul E. McKenney <paulmck@xxxxxxxxxx>
AuthorDate: Thu, 21 Jan 2021 15:56:53 -08:00
Committer: Paul E. McKenney <paulmck@xxxxxxxxxx>
CommitterDate: Mon, 08 Mar 2021 14:16:58 -08:00

rcutorture: Use "all" and "N" in "nohz_full" and "rcu_nocbs"

This commit uses the shiny new "all" and "N" cpumask options to decouple
the "nohz_full" and "rcu_nocbs" kernel boot parameters in the TREE04.boot
and TREE08.boot files from the CONFIG_NR_CPUS options in the TREE04 and
TREE08 files.

Reported-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
---
tools/testing/selftests/rcutorture/configs/rcu/TREE04.boot | 2 +-
tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE04.boot b/tools/testing/selftests/rcutorture/configs/rcu/TREE04.boot
index 5adc675..a8d94ca 100644
--- a/tools/testing/selftests/rcutorture/configs/rcu/TREE04.boot
+++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE04.boot
@@ -1 +1 @@
-rcutree.rcu_fanout_leaf=4 nohz_full=1-7
+rcutree.rcu_fanout_leaf=4 nohz_full=1-N
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot b/tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot
index 22478fd..94d3844 100644
--- a/tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot
+++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot
@@ -1,3 +1,3 @@
rcupdate.rcu_self_test=1
rcutree.rcu_fanout_exact=1
-rcu_nocbs=0-7
+rcu_nocbs=all