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 <b...@alien8.de> 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 <ling...@alipay.com> >> Cc: Linus Torvalds <torva...@linux-foundation.org> >> Cc: Arjan van de Ven <ar...@linux.intel.com> >> Cc: Andrew Morton <a...@linux-foundation.org> >> Cc: Jan Beulich <jbeul...@suse.com> >> Cc: Steven Rostedt <rost...@goodmis.org> >> Link: >http://lkml.kernel.org/r/1359123061-6139-1-git-send-email-ling...@alipay.com >> [ 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 <k...@mns.spb.ru> >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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/