[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: CONFIG_CC_OPTIMIZE_FOR_SIZE?



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]