Re: [PATCH v3 5/6] rcutorture: Add boost_disable to disable RCU priority boosting

From: Sebastian Andrzej Siewior

Date: Wed Dec 02 2026 - 09:50:44 EST


On 2026-11-21 10:35:51 [-0500], Joel Fernandes wrote:
> CONFIG_RCU_BOOST is now enabled automatically for preemptible RCU and
> cannot be turned off, so rcutorture's BUSTED-BOOST scenario, which is
> meant to show that rcutorture detects broken priority boosting, can no
> longer break it. Add an rcutorture.boost_disable parameter that keeps
> rcu_spawn_one_boost_kthread() from creating the boost kthreads, which
> gives that scenario a way to break boosting.
>
> The parameter only has an effect when rcutorture is built in, because
> the kthreads are created during boot. Document it in
> kernel-parameters.txt.
>
> [ jfern: Apply feedback from Sebastian to not create the boost kthread ]
> [ jfern: Apply feedback from Sebastian to limit this to rcutorture ]
> [ jfern: Apply feedback from Sebastian to fold the docs into this patch ]
>
> Signed-off-by: Joel Fernandes <jfern@xxxxxxxxxx>
> Tested-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

Sebastian