On the CPUs Ling is testing on the downsides of -Os probably matter less, in particular since rep movsb works well.
It is questionable as a generic default, though. The whole -Ok discussion came from that. Borislav Petkov <[email protected]> wrote: >On Sat, Jan 26, 2013 at 04:25:57AM -0800, tip-bot for Ma Ling wrote: >> During the same time (269.410275674 seconds) IPC from Os is >> 0.37, O2 is 0.36, Os improved performance 2.7%. >> >> Signed-off-by: Ma Ling <[email protected]> >> Cc: Linus Torvalds <[email protected]> >> Cc: Arjan van de Ven <[email protected]> >> Cc: Andrew Morton <[email protected]> >> Cc: Jan Beulich <[email protected]> >> Cc: Steven Rostedt <[email protected]> >> Link: >http://lkml.kernel.org/r/[email protected] >> [ So, this is a bit symbolic as most people don't use the defconfig, >> but the measurements are useful nevertheless so let's commit this >> if there are no objections. ] > >What about > >commit 3a55fb0d9fe8e2f4594329edd58c5fd6f35a99dd >Author: Kirill Smelkov <[email protected]> >Date: Fri Nov 2 15:41:01 2012 +0400 > > Tell the world we gave up on pushing CC_OPTIMIZE_FOR_SIZE > >? > >Reportedly, -Os generates suboptimal code in certain cases and we >advise >against it with this patch. -- Sent from my mobile phone. Please excuse brevity and lack of formatting. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

