Re: [tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig
- From: Borislav Petkov <bp@xxxxxxxxx>
- Date: Sat, 26 Jan 2013 16:42:56 +0100
- Cc: mingo@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx, arjan@xxxxxxxxxxxxxxx, jbeulich@xxxxxxxx, ling.ml@xxxxxxxxxx, rostedt@xxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <8b0dfc4a-6f9c-498a-9844-4d99deb3052f@email.android.com>
- Mail-followup-to: Borislav Petkov <bp@xxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, mingo@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx, arjan@xxxxxxxxxxxxxxx, jbeulich@xxxxxxxx, ling.ml@xxxxxxxxxx, rostedt@xxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- User-agent: Mutt/1.5.21 (2010-09-15)
On Sat, Jan 26, 2013 at 07:18:26AM -0800, H. Peter Anvin wrote:
> 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.
Hmm,
maybe this warrants some sort of a text addition to the config option
about when and where it is ok to select -Os. Also, is it so that
on those CPUs, -Os is always better or at least neutral so that it
doesn't cause any perf regressions when people enable it? I mean, I
see only netperf and volano runs in the commit message, maybe running
a comprehensive set of benchmarks would give us a much more detailed
picture...
Thanks.
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]