Re: [PATCH for-v7.5 12/14] rcutorture: Enable RCU_BOOST where supported

From: Paul E. McKenney

Date: Sun Nov 15 2026 - 19:49:38 EST


On Sun, Nov 15, 2026 at 06:39:31PM -0500, Joel Fernandes wrote:
> Hi Paul,
>
> Can I fold in the below diff? Sashiko found this issue in [1]: with
> RCU_BOOST now enabled without RCU_EXPERT, its dependent options
> RCU_BOOST_DELAY and RCU_NOCB_CPU_CB_BOOST would prompt during "make oldconfig"
> for non-expert configurations. The diff shows those prompts only with
> RCU_EXPERT; the defaults stay in effect.
>
> [1] https://lore.kernel.org/all/sashiko-outbox-213970@xxxxxxxxxx/

Good catch, and again, please do!

Thanx, Paul

> diff --git a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig
> index 2d0132e0a90f..a0c10750b792 100644
> --- a/kernel/rcu/Kconfig
> +++ b/kernel/rcu/Kconfig
> @@ -249,7 +249,7 @@ config RCU_BOOST
>
>
> config RCU_BOOST_DELAY
> - int "Milliseconds to delay boosting after RCU grace-period start"
> + int "Milliseconds to delay boosting after RCU grace-period start" if RCU_EXPERT
> range 0 3000
> depends on RCU_BOOST
> default 500
> @@ -325,7 +325,7 @@ config RCU_NOCB_CPU_DEFAULT_ALL
> Say N here if you are unsure.
>
> config RCU_NOCB_CPU_CB_BOOST
> - bool "Offload RCU callback from real-time kthread"
> + bool "Offload RCU callback from real-time kthread" if RCU_EXPERT
> depends on RCU_NOCB_CPU && RCU_BOOST
> default y if PREEMPT_RT
> help
>
> Thanks,
> Joel
>