Re: [PATCH] fs/select: rework stack allocation hack for clang

From: Arnd Bergmann
Date: Sun Feb 18 2024 - 05:30:07 EST


On Sun, Feb 18, 2024, at 11:19, Andi Kleen wrote:
> I suspect given the larger default stack now we could maybe just increase the
> warning limit too, but that should be fine.

I don't think we have increased the default stack size in decades,
it's still 8KB on almost all 32-bit architectures (sh, hexagon and m68k
still allow 4KB stacks, but that's probably broken). I would actually
like to (optionally) reduce the stack size for 64-bit machines
from 16KB to 12KB now that it's always vmapped.

> Reviewed-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>

Thanks,

Arnd