From: Marc Hartmayer Date: Fri, 5 Feb 2021 15:22:03 +0000 (+0000) Subject: s390/debug_config: enable kmemleak detector X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9f9b312db40b3860dfd874e9e4e8aa2c3efcbe2b;p=linux.git s390/debug_config: enable kmemleak detector ...but set it to off by default. Use the kernel command line option `kmemleak=on` to enable it. Signed-off-by: Marc Hartmayer Signed-off-by: Vasily Gorbik --- diff --git a/arch/s390/configs/debug_defconfig b/arch/s390/configs/debug_defconfig index 5233da9e3ea69..75f0c977c73c5 100644 --- a/arch/s390/configs/debug_defconfig +++ b/arch/s390/configs/debug_defconfig @@ -792,6 +792,8 @@ CONFIG_DEBUG_OBJECTS_RCU_HEAD=y CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y CONFIG_SLUB_DEBUG_ON=y CONFIG_SLUB_STATS=y +CONFIG_DEBUG_KMEMLEAK=y +CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y CONFIG_DEBUG_STACK_USAGE=y CONFIG_DEBUG_VM=y CONFIG_DEBUG_VM_VMACACHE=y