Re: [PATCH] powerpc/kasan: Limit KASAN thread size increase to 32KB

2024-02-15 Thread Michael Ellerman
On Mon, 12 Feb 2024 17:42:44 +1100, Michael Ellerman wrote: > KASAN is seen to increase stack usage, to the point that it was reported > to lead to stack overflow on some 32-bit machines (see link). > > To avoid overflows the stack size was doubled for KASAN builds in > commit 3e8635fb2e07 ("power

Re: [PATCH] powerpc/kasan: Limit KASAN thread size increase to 32KB

2024-02-12 Thread Benjamin Gray
Don't know why the previous mail went blank. On Mon, 2024-02-12 at 17:42 +1100, Michael Ellerman wrote: > KASAN is seen to increase stack usage, to the point that it was > reported > to lead to stack overflow on some 32-bit machines (see link). > > To avoid overflows the stack size was doubled fo

Re: [PATCH] powerpc/kasan: Limit KASAN thread size increase to 32KB

2024-02-12 Thread Benjamin Gray

[PATCH] powerpc/kasan: Limit KASAN thread size increase to 32KB

2024-02-11 Thread Michael Ellerman
KASAN is seen to increase stack usage, to the point that it was reported to lead to stack overflow on some 32-bit machines (see link). To avoid overflows the stack size was doubled for KASAN builds in commit 3e8635fb2e07 ("powerpc/kasan: Force thread size increase with KASAN"). However with a 32K