From: Ingo Molnar Date: Sun, 8 Jan 2006 09:01:42 +0000 (-0800) Subject: [PATCH] DEBUG_SLAB depends on SLAB X-Git-Tag: v2.6.16-rc1~835 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50dd26ba0947aa653f0e42897aad7a4adce4e620;p=linux-2.6 [PATCH] DEBUG_SLAB depends on SLAB Make DEBUG_SLAB depend on SLAB. Signed-off-by: Ingo Molnar Cc: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 80598cfd72..c48260fb8f 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