[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m21v1x91df.fsf@firstfloor.org>
Date: Wed, 23 Mar 2011 10:45:48 -0700
From: Andi Kleen <andi@...stfloor.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Ingo Molnar <mingo@...e.hu>, Pekka Enberg <penberg@...nel.org>,
Jesper Juhl <jj@...osbits.net>, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Daniel Lezcano <daniel.lezcano@...e.fr>,
Eric Paris <eparis@...hat.com>,
Roman Zippel <zippel@...ux-m68k.org>,
linux-kbuild@...r.kernel.org, Steven Rostedt <rostedt@...dmis.org>
Subject: Re: PATCH][RFC][resend] CC_OPTIMIZE_FOR_SIZE should default to N
Linus Torvalds <torvalds@...ux-foundation.org> writes:
> On Tue, Mar 22, 2011 at 3:27 AM, Ingo Molnar <mingo@...e.hu> wrote:
>>
>> If that situation has changed - if GCC has regressed in this area then a commit
>> changing the default IMHO gains a lot of credibility if it is backed by careful
>> measurements using perf stat --repeat or similar tools.
>
> Also, please don't back up any numbers for the "-O2 is faster than
> -Os" case with some benchmark that is hot in the caches.
Haven't done it recently, but some time last year -O2 vs -Os
made a measurable difference in large OLTP benchmarks.
(-Os being worse of course -- friends don't let friends use -Os)
-Andi
--
ak@...ux.intel.com -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists