Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes: > On Tue, Mar 22, 2011 at 3:27 AM, Ingo Molnar <mingo@xxxxxxx> 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@xxxxxxxxxxxxxxx -- Speaking for myself only -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html