Thread (1 message) 1 message, 1 author, 2011-03-22

Re: PATCH][RFC][resend] CC_OPTIMIZE_FOR_SIZE should default to N

From: Jesper Juhl <hidden>
Date: 2011-03-22 08:26:07
Also in: lkml

On Tue, 22 Mar 2011, Pekka Enberg wrote:
Hi Jesper,

On Mon, Mar 21, 2011 at 10:08 PM, Jesper Juhl [off-list ref] wrote:
quoted
I believe that the majority of systems we are built on want a -O2 compiled
kernel. Optimizing for size (-Os) is mainly benneficial for embedded
systems and systems with very small CPU caches (correct me if I'm wrong).
Please take a look at commit 0910b44 ("Expose "Optimize for size"
option for everybody") for the reasoning behind defaulting to -Os.
Thank you for that pointer Pekka. I guess I need to update my view on -Os.

-- 
Jesper Juhl [off-list ref]       http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help