]> Git Repo - J-linux.git/commitdiff
Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled
authorLee Jones <[email protected]>
Fri, 25 Nov 2022 12:07:50 +0000 (12:07 +0000)
committerAndrew Morton <[email protected]>
Wed, 30 Nov 2022 22:49:42 +0000 (14:49 -0800)
When enabled, KASAN enlarges function's stack-frames.  Pushing quite a few
over the current threshold.  This can mainly be seen on 32-bit
architectures where the present limit (when !GCC) is a lowly 1024-Bytes.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Leo Li <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: "Pan, Xinhui" <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: Tom Rix <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
lib/Kconfig.debug

index a1005415f0f485db8eaf02842eedaa98f889ac1f..580e453e284efc66c1a31ab31932ea0e035b3f28 100644 (file)
@@ -399,6 +399,7 @@ config FRAME_WARN
        default 2048 if GCC_PLUGIN_LATENT_ENTROPY
        default 2048 if PARISC
        default 1536 if (!64BIT && XTENSA)
+       default 1280 if KASAN && !64BIT
        default 1024 if !64BIT
        default 2048 if 64BIT
        help
This page took 0.05217 seconds and 4 git commands to generate.