lkml.org 
[lkml]   [1998]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: A patch for linux 2.1.127
> It is not a good idea to compile the kernel with -O6. -O6 includes
> -finline-functions, and automatic inlining messes up a lot of fast
> paths (mainly because egcs is not able to do register life splitting
> yet)

i thought -O3 turned on inline functions? is egcs different than gcc,
in that respect?

gcc man page:
-O3 Optimize yet more. This turns on everything -O2
does, along with also turning on -finline-func-
tions.

<snipped example code>

> So just use -O2 instead of -O6.

just curious; i heard that freebsd always defaults to -O3 for their
kernel. is this cuz they code their kernel different, taking
-finline-functions into account, or cuz they just like to throw the
highest opt level on it?

--
Tom Vier - 0x82B007A8
nester@sekurity.org | goto the Zero Page at:
Tortured Souls Software | http://www.erols.com/thomassr/zero/




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.198 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site