From: Andrew Morton - Add some help text - Force the feature on for now, for testing. Cc: Al Viro Cc: Manfred Spraul Cc: Alexander Nyberg Cc: Pekka Enberg Cc: Christoph Lameter Cc: Ravikiran Thirumalai Signed-off-by: Andrew Morton --- lib/Kconfig.debug | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff -puN lib/Kconfig.debug~slab-leaks3-default-y lib/Kconfig.debug --- a/lib/Kconfig.debug~slab-leaks3-default-y +++ a/lib/Kconfig.debug @@ -182,8 +182,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 DEBUG_PREEMPT bool "Debug preemptible kernel" _