Re: CONFIG_CC_OPTIMIZE_FOR_SIZE?

2009-09-03 Thread Dave Jones
On Thu, Sep 03, 2009 at 01:01:55PM -0300, Arnaldo Carvalho de Melo wrote:
 > Em Thu, Sep 03, 2009 at 11:48:42AM -0400, Aristeu Rozanski escreveu:
 > > Hi,
 > > does anyone know why CONFIG_CC_OPTIMIZE_FOR_SIZE is enabled in fedora 
 > > kernel? I
 > > thought that option was useful for embedded systems only.
 > 
 > IIRC because it makes the kernel faster :-)

The reduced icache pressure makes it a win.
As a bonus some non-performance-sensitive code (like the acpi interpretor)
gets a _lot_ smaller on-disk.

Dave

___
Fedora-kernel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-kernel-list


Re: CONFIG_CC_OPTIMIZE_FOR_SIZE?

2009-09-03 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 03, 2009 at 11:48:42AM -0400, Aristeu Rozanski escreveu:
> Hi,
> does anyone know why CONFIG_CC_OPTIMIZE_FOR_SIZE is enabled in fedora kernel? 
> I
> thought that option was useful for embedded systems only.

IIRC because it makes the kernel faster :-)

- Arnaldo

___
Fedora-kernel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-kernel-list