From: Hans Reiser <reiser@namesys.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Adrian Bunk <bunk@stusta.de>,
reiserfs-list@namesys.com, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] fs/reiser4/: possible cleanups
Date: Fri, 18 Nov 2005 10:04:34 -0800 [thread overview]
Message-ID: <437E17B2.9090009@namesys.com> (raw)
In-Reply-To: <1132302717.2830.41.camel@laptopd505.fenrus.org>
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.
next prev parent reply other threads:[~2005-11-18 18:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-18 3:33 [2.6 patch] fs/reiser4/: possible cleanups Adrian Bunk
2005-11-18 8:24 ` Hans Reiser
2005-11-18 8:31 ` Arjan van de Ven
2005-11-18 18:04 ` Hans Reiser [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-12-12 1:35 Adrian Bunk
2005-12-12 6:29 ` Hans Reiser
2005-10-28 22:35 Adrian Bunk
[not found] ` <df47b87a0510282058t37e8393o60e7f592ea5b19e5@mail.gmail.com>
2005-10-29 9:22 ` Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=437E17B2.9090009@namesys.com \
--to=reiser@namesys.com \
--cc=arjan@infradead.org \
--cc=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=reiserfs-list@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox