CONFIG_CC_OPTIMIZE_FOR_SIZE?

Dave Jones davej at redhat.com
Thu Sep 3 16:14:45 UTC 2009


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




More information about the Fedora-kernel-list mailing list