summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorChristoph Lameter2010-10-05 20:57:26 +0200
committerPekka Enberg2010-10-06 15:54:36 +0200
commitab4d5ed5eeda4f57c50d14131ce1b1da75d0c938 (patch)
treee0c574c802138d9b6514dae4f2c46fcc6365b951 /lib/Kconfig.debug
parentSLUB: Optimize slab_free() debug check (diff)
downloadkernel-qcow2-linux-ab4d5ed5eeda4f57c50d14131ce1b1da75d0c938.tar.gz
kernel-qcow2-linux-ab4d5ed5eeda4f57c50d14131ce1b1da75d0c938.tar.xz
kernel-qcow2-linux-ab4d5ed5eeda4f57c50d14131ce1b1da75d0c938.zip
slub: Enable sysfs support for !CONFIG_SLUB_DEBUG
Currently disabling CONFIG_SLUB_DEBUG also disabled SYSFS support meaning that the slabs cannot be tuned without DEBUG. Make SYSFS support independent of CONFIG_SLUB_DEBUG Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 1b4afd2e6ca0..b6263651a955 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -353,7 +353,7 @@ config SLUB_DEBUG_ON
config SLUB_STATS
default n
bool "Enable SLUB performance statistics"
- depends on SLUB && SLUB_DEBUG && SYSFS
+ depends on SLUB && SYSFS
help
SLUB statistics are useful to debug SLUBs allocation behavior in
order find ways to optimize the allocator. This should never be