Re: [GIT PULL] RCU changes for v7.1

From: Joel Fernandes

Date: Mon Apr 13 2026 - 15:29:53 EST




On 4/13/2026 12:40 PM, Linus Torvalds wrote:
> On Tue, 31 Mar 2026 at 10:42, Joel Fernandes <joelagnelf@xxxxxxxxxx> wrote:
>>
>> RCU stall:
>>
>> - Add BOOTPARAM_RCU_STALL_PANIC Kconfig option to allow triggering a kernel
>> panic on RCU stall via kernel boot parameter.
>
> No.
>
> Dammit, stop doing these horrible things.
>
> I've said this a million times by now: the kernel config phase is
> probably one of the biggest pain points for random new people trying
> to build their own kernels, and we DO NOT ASK PEOPLE STUIPID THINGS.
>
> People who want this can damn well use the sysctl or maybe some kernel
> command line option instead, and we DO NOT MAKE LIFE WORSE FOR
> EVERYBODY ELSE.
>
> I have removed that disgusting kernel kconfig option, and I want to
> make it very clear to people that the kconfig files aren't your
> personal playgrounds: they are the most visible interface to NORMAL
> USERS that we want to encourage to build their own kernels so that
> they can participate in kernel development.

Linus, I am Ok with dropping it and thanks for doing that, no problem. sysctl
sounds like a good option to me (CC'ing the patch author, Gustavo, as well in
case they want to go this route).

Regarding boot params, I guess I would like to add - sometimes it is difficult
for people to change kernel boot params (coming from the Android world, I
remember setting boot params required changing and recompiling the bootloader,
and it was much easier to recompile the kernel than the bootloader. The
bootloader came from flash memory and required special signing processes etc).

That said, I totally agree with not polluting and complicating Kconfig
unnecessarily.

>
> So people: next time you feel the urge to add a Kconfig option, take a
> deep breath, and look at that Kconfig file, and go "Maybe I can
> instead remove this *other* useless option instead".

Noted, though, in this case "removing the other option which is to
panic-on-stall" does not help, because not everyone will want to panic-on-stall
by default? So sysctl to turn on the feature maybe makes sense (for those who
prefer that over boot parameters).

thanks,

--
Joel Fernandes