[patch -mm] DEBUG_SLAB depends on SLAB

From: Ingo Molnar
Date: Sun Dec 11 2005 - 09:18:24 EST


another SLOB related patch: make DEBUG_SLAB depend on SLAB.

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

Index: linux/lib/Kconfig.debug
===================================================================
--- linux.orig/lib/Kconfig.debug
+++ linux/lib/Kconfig.debug
@@ -100,7 +100,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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/