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
I attached the .config
--
MfG/Sincerely
Toralf F?rster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
On Thu, 20 Mar 2008 20:35:41 +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
>
> I attached the .config
Because it defaults to y and you can't change it unless you
enable EMBEDDED.
---
~Randy
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