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

Andi Kleen
2007-07-16T00:33:34Z

> 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