Re: [PATCH v2] arm64: run softirqs on the per-CPU IRQ stack

From: Qi Zheng
Date: Fri Aug 05 2022 - 03:54:11 EST




On 2022/8/5 15:50, Arnd Bergmann wrote:
On Fri, Aug 5, 2022 at 9:10 AM Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx> wrote:
On 2022/8/2 14:53, Qi Zheng wrote:
Currently arm64 supports per-CPU IRQ stack, but softirqs
are still handled in the task context.

Since any call to local_bh_enable() at any level in the task's
call stack may trigger a softirq processing run, which could
potentially cause a task stack overflow if the combined stack
footprints exceed the stack's size, let's run these softirqs
on the IRQ stack as well.

Signed-off-by: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>
Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>
Acked-by: Will Deacon <will@xxxxxxxxxx>

Are we good to merge it into 6.0-rc1?

I think you misunderstood the timing that Will proposed in

https://lore.kernel.org/linux-arm-kernel/d540aaff-ec6a-3f25-dd79-b27b4ad81b36@xxxxxxxxxxxxx/

You should send your patch after 6.0-rc1 has been released, to be merged
into the linux-next tree and sent as part of the 6.1 merge window.

Oh, got it. I will repost it after 6.0-rc1.


The two ways patches get merged are:

- bugfixes can get merged into maintainer trees at any time and sent
upstream regardless of the merge window, these never need to wait

- non-bugfix patches can get merged into maintainer trees based on an
-rc release and then sent upstream during the following merge window.

Thanks for such detailed information. :)


Arnd

Thanks,
Qi

--
Thanks,
Qi