summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2017-06-23 23:08:12 +0000
committerJohannes Weiner <hannes@cmpxchg.org>2017-06-23 23:08:12 +0000
commitaa0bcdcac17890d70ea31371435baa7cff458c0e (patch)
tree2ef2a22e1ae4d35b33249fc59ceb2202519a1295
parent570773bbc91c34314c13c31ce155e460cc0382a8 (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 d2df1bffe337..ddb40c3ebae4 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -521,8 +521,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"