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

Re: [Xen-devel] Re: [PATCH] clean up CFLAGS

On 10 Mar 2006, at 14:50, Andi Kleen wrote:

I've put some default CFLAGS (-Wall -O3)

Are you sure -O3 is a good idea? In my experience it just bloats
.text for most projects because of its aggressive inlining. I would
use -O2.

That's a good question. All that patch really did was move the optimisation default into Config.mk, and the general choice throughout the Xen tree was -O3. But it isn't clear that's best.

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.