[PATCH] powerpc/kasan: Force thread size increase with KASAN

Michael Ellerman patch-notifications at ellerman.id.au
Fri Jun 10 00:44:34 AEST 2022


On Thu, 2 Jun 2022 00:31:14 +1000, Michael Ellerman wrote:
> KASAN causes increased stack usage, which can lead to stack overflows.
> 
> The logic in Kconfig to suggest a larger default doesn't work if a user
> has CONFIG_EXPERT enabled and has an existing .config with a smaller
> value.
> 
> Follow the lead of x86 and arm64, and force the thread size to be
> increased when KASAN is enabled.
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/kasan: Force thread size increase with KASAN
      https://git.kernel.org/powerpc/c/3e8635fb2e072672cbc650989ffedf8300ad67fb

cheers


More information about the Linuxppc-dev mailing list