diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 80598cfd728c39744c5841e0e5d0bbd078833dba..c48260fb8fd910add057a6d94f5ecc7b14d4fa2f 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -79,7 +79,7 @@ config SCHEDSTATS config DEBUG_SLAB bool "Debug memory allocations" - depends on DEBUG_KERNEL + depends on DEBUG_KERNEL && SLAB help Say Y here to have the kernel do limited verification on memory allocation as well as poisoning memory on free to catch use of freed