lkml.org 
[lkml]   [2002]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: do u get better performance from optimizing the code
From
Date
"Kingsley Foreman" <kingsley@uglypunk.com> writes:

> just out of curiosity will the kernel perform better if you
> change the optimizations using C++ eg use -O9 or something during compile

The kernel is written in C, so don't use a C++ compiler. GCC has four
levels of optimization:
0 = nothing
1 = -O, simple things
2 = some more
3 = function inlining etc.

Anyting >3 is treated as 3.

--
Måns Rullgård
mru@users.sf.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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