lkml.org 
[lkml]   [2003]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Kernel 2.6 size increase - get_current()?
From
Date
Hollis Blanchard <hollisb@us.ibm.com> writes:
> Inlines don't always help performance (depending on cache sizes, branch
> penalties, frequency of code access...), but they do always increase
> code size.

Um, inlining can often _decrease_ code size because it gives the
compiler substantial new opportunities for optimization (the function
body is no longer opaque, so the compiler has a lot more info, and any
optimizations done on the inlined body can be context-specific).

-Miles
--
Is it true that nothing can be known? If so how do we know this? -Woody Allen
-
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:47    [from the cache]
©2003-2011 Jasper Spaans