All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Charles Coffing" <ccoffing@novell.com>
To: Andi Kleen <ak@suse.de>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] clean up CFLAGS
Date: Fri, 10 Mar 2006 10:35:08 -0500	[thread overview]
Message-ID: <44113A29.D169.003C.0@novell.com> (raw)
In-Reply-To: <p73slpquzfr.fsf@verdi.suse.de>

-O2 actually tends to be my preference too for the same reason, but I
was just rearranging the existing options.

I've certainly seen cases (prior to Xen, though) where -O3 was slower
than -O2, probably due to cache effects.


>>> On Fri, Mar 10, 2006 at  7:50 AM, in message
<p73slpquzfr.fsf@verdi.suse.de>,
Andi Kleen <ak@suse.de> wrote: 
> "Charles Coffing" <ccoffing@novell.com> writes:
> 
>> This patch cleans up the usage of CFLAGS.  This is nice for
packagers,
>> who would like to control the base compilation flags from a central
>> place.
>> 
>> I've put some default CFLAGS (- Wall - O3) 
> 
> Are you sure - O3 is a good idea? In my experience it just bloats 
> .text for most projects because of its aggressive inlining. I would
> use - O2.
> 
> - Andi

      parent reply	other threads:[~2006-03-10 15:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-09 19:42 [PATCH] clean up CFLAGS Charles Coffing
2006-03-09 19:47 ` Keir Fraser
2006-03-09 20:16   ` Charles Coffing
2006-03-09 21:31     ` Keir Fraser
2006-03-09 20:18   ` Keir Fraser
2006-03-10 14:50 ` Andi Kleen
2006-03-10 14:58   ` Keir Fraser
2006-03-10  8:30     ` Andi Kleen
2006-03-10 16:30       ` Keir Fraser
2006-03-10 15:35   ` Charles Coffing [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44113A29.D169.003C.0@novell.com \
    --to=ccoffing@novell.com \
    --cc=ak@suse.de \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.