[PATCH v1 1/2] arm64: run softirqs on the per-CPU IRQ stack

Arnd Bergmann arnd at arndb.de
Thu Jul 14 04:32:30 PDT 2022


On Fri, Jul 8, 2022 at 11:49 AM Qi Zheng <zhengqi.arch at bytedance.com> 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>

This seems like a nice improvement, and this version addresses
my concern I raised on the RFC version.

Reviewed-by: Arnd Bergmann <arnd at arndb.de>



More information about the linux-arm-kernel mailing list