Re: [patch -mm] DEBUG_SLAB depends on SLAB

From: Matt Mackall
Date: Sun Dec 11 2005 - 19:52:04 EST


On Sun, Dec 11, 2005 at 03:17:16PM +0100, Ingo Molnar wrote:
> another SLOB related patch: make DEBUG_SLAB depend on SLAB.
>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

Acked-by: Matt Mackall <mpm@xxxxxxxxxxx>

>
> 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

--
Mathematics is the supreme nostalgia of our time.
-
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/