Re: [PATCH 2/7] rcu: limit PREEMPT_RCU configurations

From: Sebastian Andrzej Siewior
Date: Thu Oct 10 2024 - 06:28:13 EST


On 2024-10-10 12:03:08 [+0200], Peter Zijlstra wrote:
> >
> > I can't deselect CONFIG_PREEMPT_RCU=y. This is because LAZY selects
> > PREEMPT_BUILD and PREEMPT_RCU selects itself once PREEMPTION is on.
>
> Oh, the entry isn't user selectable? Fix that perhaps?
>
> - bool
> + bool "Use preemptible RCU"
>
> Or something along those lines -- I forever forget how Kconfig works.

Oh. Well, yes. If we do this then it becomes suddenly selectable and
half of the series makes sense…
But as you said, this complicates things.

Sebastian