summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2017-12-13 01:11:48 +0000
committerJohannes Weiner <hannes@cmpxchg.org>2017-12-13 01:11:48 +0000
commitcdbeaff092794561a6b67fb7be4e9ef0367332eb (patch)
tree89a20a4b62a2bb777ae81a09efd89c14a55e40a1
parentb08058206ea15157e4a86962455f6ff374902c40 (diff)
slab-leaks3-default-y
- Add some help text - Force the feature on for now, for testing. Cc: Al Viro <viro@ftp.linux.org.uk> Cc: Manfred Spraul <manfred@colorfullife.com> Cc: Alexander Nyberg <alexn@telia.com> Cc: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Christoph Lameter <cl@linux-foundation.org>.com> Cc: Ravikiran Thirumalai <kiran@scalex86.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--lib/Kconfig.debug7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 86baf8914b22..df0c5cc7a4b2 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -527,8 +527,13 @@ config DEBUG_SLAB
memory. This can make kmalloc/kfree-intensive workloads much slower.
config DEBUG_SLAB_LEAK
- bool "Memory leak debugging"
+ bool "Slab memory leak debugging"
depends on DEBUG_SLAB
+ default y
+ help
+ Enable /proc/slab_allocators - provides detailed information about
+ which parts of the kernel are using slab objects. May be used for
+ tracking memory leaks and for instrumenting memory usage.
config SLUB_DEBUG_ON
bool "SLUB debugging on by default"