aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-21 02:13:03 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-21 02:13:03 +0200
commit2b8b922b800fdd03323d0adadcf86cae903be422 (patch)
tree384920c6f4e4b59daa71f093bea108ec4e00b7ed
parentocfs2: fix ocfs2 read block panic (diff)
downloadlinux-dev-jd/kasan-stack-frame.tar.xz
linux-dev-jd/kasan-stack-frame.zip
framewarn: expand KASAN_EXTRA exception to KASANjd/kasan-stack-frame
It turns out that KASAN in general will bloat stack frames in unexpected ways, not just KASAN_EXTRA. So, this patch trivially changes that default to be associated with KASAN instead of KASAN_EXTRA. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--lib/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 4966c4fbe7f7..39078a080e29 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -222,7 +222,7 @@ config ENABLE_MUST_CHECK
config FRAME_WARN
int "Warn for stack frames larger than (needs gcc 4.4)"
range 0 8192
- default 3072 if KASAN_EXTRA
+ default 3072 if KASAN
default 2048 if GCC_PLUGIN_LATENT_ENTROPY
default 1280 if (!64BIT && PARISC)
default 1024 if (!64BIT && !PARISC)