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

2022-06-09 Thread Michael Ellerman
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. > > Follo

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

2022-06-01 Thread Christophe Leroy
Le 01/06/2022 à 16:31, Michael Ellerman a écrit : > 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 l

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

2022-06-01 Thread Michael Ellerman
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 wh