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

Qi Zheng zhengqi.arch at bytedance.com
Thu Jul 14 04:50:38 PDT 2022



On 2022/7/14 19:32, Arnd Bergmann wrote:
> 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>

Thanks for your review. :)

-- 
Thanks,
Qi



More information about the linux-arm-kernel mailing list