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

From: Sitsofe Wheeler
Date: Mon Feb 23 2009 - 10:25:49 EST


On Mon, Feb 23, 2009 at 11:35:12AM +0200, Pekka Enberg wrote:
> From: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
>
> 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.

You may also want to add something in the Documentation/kmemcheck.txt
saying that it conflicts with CONFIG_DEBUG_PAGEALLOC and
CONFIG_SLUB_DEBUG so that people realise why it is not presented as an
option...

--
Sitsofe | http://sucs.org/~sits/
--
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/