diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2017-06-23 23:08:12 +0000 |
---|---|---|
committer | Johannes Weiner <hannes@cmpxchg.org> | 2017-06-23 23:08:12 +0000 |
commit | aa0bcdcac17890d70ea31371435baa7cff458c0e (patch) | |
tree | 2ef2a22e1ae4d35b33249fc59ceb2202519a1295 | |
parent | 570773bbc91c34314c13c31ce155e460cc0382a8 (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.debug | 7 |
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" |