aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/configs
diff options
context:
space:
mode:
authorMarc Hartmayer <mhartmay@linux.ibm.com>2021-02-05 15:22:03 +0000
committerVasily Gorbik <gor@linux.ibm.com>2021-02-09 15:57:04 +0100
commit9f9b312db40b3860dfd874e9e4e8aa2c3efcbe2b (patch)
tree7ad5d311f4b715c1653c0a4255e558ddab9501dd /arch/s390/configs
parentDocumentations: scsi, kvm: Update s390-tools GitHub URL (diff)
downloadlinux-dev-9f9b312db40b3860dfd874e9e4e8aa2c3efcbe2b.tar.xz
linux-dev-9f9b312db40b3860dfd874e9e4e8aa2c3efcbe2b.zip
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 <mhartmay@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/configs')
-rw-r--r--arch/s390/configs/debug_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/configs/debug_defconfig b/arch/s390/configs/debug_defconfig
index 5233da9e3ea6..75f0c977c73c 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