[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: FORTIFY_SOURCE for the kernel
- From: Ralf Corsepius <rc040203 freenet de>
- To: Development discussions related to Fedora Core <fedora-devel-list redhat com>
- Subject: Re: FORTIFY_SOURCE for the kernel
- Date: Mon, 23 Jan 2006 18:59:38 +0100
On Mon, 2006-01-23 at 12:31 -0500, Mike A. Harris wrote:
> Ralf Corsepius wrote:
> > On Mon, 2006-01-23 at 07:53 -0600, Josh Boyer wrote:
> >
> >>>On Mon, 2006-01-23 at 11:30 +0900, Warren Togami wrote:
> >
> >
> >>>Going off at a tangent....what would people think of the idea of
> >>>switching to -Os in $RPM_OPT_FLAGS _after_ FC5 is released?
> >>
> >>If it results in some form of improvement in performance, I'm all for it.
> >
> >
> > The "s" in -Os stands for "size", not for "speed". So if -Os compiled
> > code-execution is faster than the default CFLAGS, something must be
> > broken elsewhere.
>
> Not necessarily. The reduced size of the executable makes more
> efficient use of CPU cache, which can have a net result of increased
> speed as well.
I guess you have benchmarking code to prove this claim to upstream? ;)
Ralf
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]