slub: Enable sysfs support for !CONFIG_SLUB_DEBUG
authorChristoph Lameter <[email protected]>
Tue, 5 Oct 2010 18:57:26 +0000 (13:57 -0500)
committerPekka Enberg <[email protected]>
Wed, 6 Oct 2010 13:54:36 +0000 (16:54 +0300)
commitab4d5ed5eeda4f57c50d14131ce1b1da75d0c938
treee0c574c802138d9b6514dae4f2c46fcc6365b951
parent15b7c5142049e7efc3071280e1370dc3b8add6f5
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 <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
include/linux/slub_def.h
lib/Kconfig.debug
mm/slub.c