Re: kernel optimization
From: Adrian Bunk
Date: Fri Jul 22 2005 - 15:15:33 EST
On Fri, Jul 22, 2005 at 07:55:48PM +0100, christos gentsis wrote:
> hello
Hi Chris,
> 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?
search for the line with
CFLAGS += -O2
and change this to -O3.
This works for most Makefile's except for the one's that manually
set -Os.
> 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)
It's completely untested.
And since it's larger, it's also slower.
> Thanks
> Chris
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/