[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
"Kingsley Foreman" <> 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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:26    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean