Re: [PATCH v2 REPOST] asm-generic: Conditionally enable do_softirq_own_stack() via Kconfig.

From: Sebastian Andrzej Siewior
Date: Thu Sep 08 2022 - 02:40:21 EST


On 2022-08-25 10:25:06 [+0200], To Arnd Bergmann wrote:
> Remove the CONFIG_PREEMPT_RT symbol from the ifdef around
> do_softirq_own_stack() and move it to Kconfig instead.
>
> Enable softirq stacks based on SOFTIRQ_ON_OWN_STACK which depends on
> HAVE_SOFTIRQ_ON_OWN_STACK and its default value is set to !PREEMPT_RT.
> This ensures that softirq stacks are not used on PREEMPT_RT and avoids
> a 'select' statement on an option which has a 'depends' statement.
>
> Link: https://lore.kernel.org/YvN5E%2FPrHfUhggr7@xxxxxxxxxxxxx
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
> ---
>
> Arnd, could you please route it via your tree?
>
> v1…v2:
> - Use "def_bool HAVE_SOFTIRQ_ON_OWN_STACK && !PREEMPT_RT"

a gentle *ping*

Sebastian