[PATCH v2 0/9] ARM: add support for IRQ stacks

Linus Walleij linus.walleij at linaro.org
Sat Oct 16 15:04:46 PDT 2021


Hi Ard,

On Tue, Oct 5, 2021 at 9:16 AM Ard Biesheuvel <ardb at kernel.org> wrote:

> Compared to user space, the kernel's task stacks are tiny and
> inflexible, as we don't grow them dynamically using demand paging. This
> is the reason we tend to obsess about functions with disproportionately
> large stack frames, given that it is hard to predict statically how
> calls to those functions may combine at runtime, and exhaust the stack
> and crash the kernel.

While I do not have the bandwidth to make an in-depth review
(and parse and run the assembly in my head...)
I do get the overall picture and this is overall a very nice improvement
so FWIW:
Acked-by: Linus Walleij <linus.walleij at linaro.org>
for the entire patch series.

If you want me to test this on some exotic system (such as the
ARMv4 footbridge or IXP4xx BE) tell me and I'll try to make time for it!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list