mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: Hans Reiser <reiser@namesys.com>
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 09:31:57 +0100	[thread overview]
Message-ID: <1132302717.2830.41.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <437D8FB3.2000108@namesys.com>

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)


  reply	other threads:[~2005-11-18  8:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-18  3:33 Adrian Bunk
2005-11-18  8:24 ` Hans Reiser
2005-11-18  8:31   ` Arjan van de Ven [this message]
2005-11-18 18:04     ` Hans Reiser
  -- 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=1132302717.2830.41.camel@laptopd505.fenrus.org \
    --to=arjan@infradead.org \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=reiser@namesys.com \
    --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

all inboxes | Powered by JetHome®