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

Arnd Bergmann arnd at arndb.de
Fri Aug 5 00:50:00 PDT 2022


On Fri, Aug 5, 2022 at 9:10 AM Qi Zheng <zhengqi.arch at bytedance.com> 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 at bytedance.com>
> > Reviewed-by: Arnd Bergmann <arnd at arndb.de>
> > Acked-by: Will Deacon <will at kernel.org>
>
> 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@bytedance.com/

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.

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.

        Arnd



More information about the linux-arm-kernel mailing list