From: Adrian Bunk <bunk@stusta.de>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] remove the CONFIG_CC_ALIGN_* options
Date: Tue, 21 Feb 2006 19:44:07 +0100 [thread overview]
Message-ID: <20060221184406.GZ4661@stusta.de> (raw)
In-Reply-To: <20060221175640.GB9070@mars.ravnborg.org>
On Tue, Feb 21, 2006 at 06:56:40PM +0100, Sam Ravnborg wrote:
> On Mon, Feb 20, 2006 at 11:36:54PM +0100, Adrian Bunk wrote:
> > I don't see any use case for the CONFIG_CC_ALIGN_* options:
> > - they are only available if EMBEDDED
> > - people using EMBEDDED will most likely also enable
> > CC_OPTIMIZE_FOR_SIZE
> > - the default for -Os is to disable alignment
> >
> > In case someone is doing performance comparisons and discovers that the
> > default settings gcc chooses aren't good, the only sane thing is to
> > discuss whether it makes sense to change this, not through offering
> > options to change this locally.
>
> I leave it to other to judge if this is wortwhile or not - I have no
> numbers to back up either with or without.
> It is though a nice cleaning effort in the Makefile.
>
> But if we back-out this then cc-option-aling should go as well,
> including description in Documentation/kbuild/makefiles.txt
My patch doesn't remove cc-option-align, and it's still used in
arch/i386/Makefile.cpu.
The point of my patch is that there's no reason why a user should set
different align options (if a developer wants to benchmark different
align options, adding them to the CFLAGS in the Makefile is still
trivial).
> Sam
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2006-02-21 18:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-20 22:36 [2.6 patch] remove the CONFIG_CC_ALIGN_* options Adrian Bunk
2006-02-21 17:56 ` Sam Ravnborg
2006-02-21 18:44 ` Adrian Bunk [this message]
2006-02-21 19:08 ` Sam Ravnborg
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=20060221184406.GZ4661@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
/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.