Re: [PATCH] rcu/nocb: Add an option to ON/OFF an offloading from RT context

From: Paul E. McKenney
Date: Tue May 10 2022 - 10:57:59 EST


On Tue, May 10, 2022 at 10:09:46AM -0400, Steven Rostedt wrote:
> On Mon, 9 May 2022 11:39:34 -0700
> "Paul E. McKenney" <paulmck@xxxxxxxxxx> wrote:
>
> > This allows your current RCU_NOCB_CPU_CB_BOOST with something like
> > this in place of the "default n":
> >
> > default y if PREEMPT_RT
> > default n if !PREEMPT_RT
>
> BTW, I don't think you need the !PREEMPT_RT, because all configs are
> 'n' by default. That is:
>
> default y if PREEMPT_RT
>
> should be good enough.

Good point, thank you!

That said, there is a lot of "default n" in a lot of Kconfig files.
And I am OK making this explicit. So Uladzislau's choice. ;-)

Thanx, Paul