Re: [2.6 patch] fs/reiser4/: possible cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-11-18 at 00:24 -0800, Hans Reiser wrote:
> Seems ok to me.  Is it valuable reasons I don't know about to keep
> reiser4_* functions from crowding the namespaces of the rest of the
> kernel?  Is linking faster or?

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)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux