Re: [PATCH] kmemcheck: Disable SLUB and SLAB debugging whenkmemcheck is enabled

From: Pekka Enberg
Date: Mon Feb 23 2009 - 12:33:38 EST


On Mon, 2009-02-23 at 10:41 -0500, Christoph Lameter wrote:
> On Mon, 23 Feb 2009, Pekka Enberg wrote:
>
> > Enabling kmemcheck in Kconfig is a painful experience. Lets make it a
> > tad bit easier by inverting the dependencies to SLUB and SLAB debugging.
> > As kmemcheck is more powerful than slab debugging, disable the latter
> > functionality if an user enables kmemcheck.
>
> SLUB_DEBUG is fundamentally different from SLAB_DEBUG. It only includes
> the code to be able to enable debugging at runtime. It does not enable
> debugging.

Yes, I know that but we can't really let the user enable both, slub
debugging and kmemcheck debugging, at run-time. That's why I used
SLUB_DEBUG here.

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