Re: Why does "make oldconfig" always set CONFIG_SLUB_DEBUG=y ?

From: Dave Jones
Date: Thu Mar 20 2008 - 16:19:54 EST


On Thu, Mar 20, 2008 at 08:35:41PM +0100, Toralf Förster wrote:
> I'm wondering why this option is always set after "make oldconfig" :
>
> tfoerste@n22 ~/devel/linux-2.6 $ grep _SLUB_DEBUG=y .config
> CONFIG_SLUB_DEBUG=y
> tfoerste@n22 ~/devel/linux-2.6 $ sed -i -e 's/_SLUB_DEBUG=y/_SLUB_DEBUG=n/' .config
> tfoerste@n22 ~/devel/linux-2.6 $ grep _SLUB_DEBUG= .config
> CONFIG_SLUB_DEBUG=n
> tfoerste@n22 ~/devel/linux-2.6 $ make oldconfig 1>/dev/null
> tfoerste@n22 ~/devel/linux-2.6 $ grep _SLUB_DEBUG= .config
> CONFIG_SLUB_DEBUG=y

CONFIG_SLUB_DEBUG is only optional if CONFIG_EMBEDDED is set.
There's little to no cost other than codesize to having it enabled.

Dave

--
http://www.codemonkey.org.uk
--
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/