lkml.org 
[lkml]   [2005]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6 patch] fs/reiser4/: possible cleanups
Arjan van de Ven wrote:

> gcc can and does optimize static functions more. A function being static
>
>(and not having it's address taken) means that gcc is aware of all
>callers of this one function (unlike non-static obviously where places
>outside the current .c may call it). That knowledge can and is used for
>optimization. (and increasingly so in newer gcc's)
>
>
>
>
>
Interesting. We should use static wherever we can then.
-
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-11-18 19:07    [W:0.200 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site