]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
s390/debug_config: enable kmemleak detector
authorMarc Hartmayer <mhartmay@linux.ibm.com>
Fri, 5 Feb 2021 15:22:03 +0000 (15:22 +0000)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 9 Feb 2021 14:57:04 +0000 (15:57 +0100)
...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>
arch/s390/configs/debug_defconfig

index 5233da9e3ea69b998a69d4d28b81766632ca88a1..75f0c977c73c5c5e6cb3aa77e4d3cf89bc3ae593 100644 (file)
@@ -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