Re: kernel optimization

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

 



This is a airly frequent question

the short answer is 'don't try'

the longer answer is that all the additional optimization options that are part of O3+ are considered individually and if they make sense for the kernel they are explicitly enabled (in some cases the optimizations need to be explicitly turned off for proper functionality of the kernel under all versions of GCC)

David Lang

On Fri, 22 Jul 2005, christos gentsis wrote:

Date: Fri, 22 Jul 2005 19:55:48 +0100
From: christos gentsis <[email protected]>
To: [email protected]
Subject: kernel optimization

hello

i would like to ask if it possible to change the optimization of the kernel from -O2 to -O3 :D, how can i do that? if i change it to the top level Makefile does it change to all the Makefiles?

And let's say that i change it... does this generate any problems with the space that the kernel will take? (the kernel will be much larger)

Thanks
Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


--
There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.
 -- C.A.R. Hoare
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux