]> git.baikalelectronics.ru Git - kernel.git/commit
Kconfig.debug: disable CONFIG_FRAME_WARN for KMSAN by default
authorAlexander Potapenko <glider@google.com>
Mon, 24 Oct 2022 21:21:42 +0000 (23:21 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Oct 2022 20:37:23 +0000 (13:37 -0700)
commit4176704a1f3dab914024041f2f907e5931eb2c6f
tree85ef0146942744d92cbeb5d0148dd7b458468693
parent2082d0d6baa53e06a02c2818b2b21ec51a8a2e8a
Kconfig.debug: disable CONFIG_FRAME_WARN for KMSAN by default

KMSAN adds a lot of instrumentation to the code, which results in
increased stack usage (up to 2048 bytes and more in some cases).  It's
hard to predict how big the stack frames can be, so we disable the
warnings for KMSAN instead.

Link: https://lkml.kernel.org/r/20221024212144.2852069-3-glider@google.com
Link: https://github.com/google/kmsan/issues/89
Signed-off-by: Alexander Potapenko <glider@google.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/Kconfig.debug