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

From: Will Deacon
Date: Wed Sep 07 2022 - 09:34:42 EST


On Wed, Sep 07, 2022 at 03:04:48PM +0800, Qi Zheng wrote:
>
>
> On 2022/8/26 12:16, Qi Zheng wrote:
> >
> >
> > On 2022/8/15 20:47, 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>
> > > ---
> > > v2: https://lore.kernel.org/lkml/20220802065325.39740-1-zhengqi.arch@xxxxxxxxxxxxx/
> > > v1: https://lore.kernel.org/lkml/20220708094950.41944-1-zhengqi.arch@xxxxxxxxxxxxx/
> > > RFC: https://lore.kernel.org/lkml/20220707110511.52129-1-zhengqi.arch@xxxxxxxxxxxxx/
> > >
> > > Changelog in v2 -> v3:
> > >   - rebase onto the v6.0-rc1
>
> Hi Will,
>
> Are we good to merge this patch? Or if there is anything else I need to
> do, please let me know. :)

I'm expecting Catalin to pick this one up for 6.1.

Will