Re: Make CONFIG_DEBUG_RODATA boot-time configurable

From: Arjan van de Ven
Date: Thu Jul 15 2010 - 23:49:29 EST


On Fri, 16 Jul 2010 00:06:16 +0200 (CEST)
Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:

> On Thu, 15 Jul 2010, Dave Jones wrote:
>
> > We had a request to disable DEBUG_RODATA in our kernel for
> > debugging purposes. Turning it off completely seems a bit
> > unfortunate for the minority case of people wanting to do
> > debugging, so I came up with this patch to make it a boot-time
> > 'disable_rodata' argument.
> >
> > Signed-off-by: Dave Jones <davej@xxxxxxxxxx>
>
> Nice one, shouldn't we get rid of the DEBUG_RODATA config and enable
> it unconditionally ?
>

I'd go one step further; enable unconditional, and have the config
option control if you can turn it off or not...
--
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/