rcutorture: Make torture.sh --do-rt use CONFIG_PREEMPT_RT
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 6 Feb 2025 13:28:03 +0000 (05:28 -0800)
committerJoel Fernandes <joelagnelf@nvidia.com>
Fri, 11 Apr 2025 12:58:33 +0000 (08:58 -0400)
commita3204f778cf7e37c7344404768398b4f9d43a368
treeaf5e4d1799722bbb218481ab4d9c508fe6f58a87
parente73e5b7c1acd51fc5000dc476ceb76184b6ca253
rcutorture: Make torture.sh --do-rt use CONFIG_PREEMPT_RT

The torture.sh --do-rt command-line parameter is intended to mimic -rt
kernels.  Now that CONFIG_PREEMPT_RT is upstream, this commit makes this
mimicking more precise.

Note that testing of RCU priority boosting is disabled in favor
of forward-progress testing of RCU callbacks.  If it turns out to be
possible to make kernels built with CONFIG_PREEMPT_RT=y to tolerate
testing of both, both will be enabled.

[ paulmck: Apply Sebastian Siewior feedback. ]

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
tools/testing/selftests/rcutorture/bin/torture.sh