Re: [patch 4/8] Immediate Value - Add kconfig menus

Mathieu Desnoyers
2007-07-16T00:41:19Z

* Andi Kleen (andi@firstfloor.org) wrote:
> > On embedded systems, the tradeoff is not the same. The immediate values
> > trade a little bit of system memory (to keep the pointers to the
> > variable and instruction as well as the size of the variable, only used
> > when the variable is updated) in order to remove cache line hot paths.
>
> Please remove the Kconfig. I don't think it makes sense. Such optimizations
> should be always enabled. We don't have CONFIG_GO_FASTER configs normally.
> Don't introduce them now.
>
> >
> > Also, embedded systems with physically read-only memory clearly does not
> > want to enable this.
>
> We always patch the x86 kernel, so they have to deal with it anyways.
> The x86 port doesn't support XIP.
>
> -Andi

Hehe, good timing, please see the
immediate-values-kconfig-embedded.patch I just sent. ;) Well, the idea
is to give the option to every architecture in the embedded menu, which
is not limited to X86.