public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Tim Bird <tim.bird@am.sony.com>
Cc: linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: Is extern inline -> static inline OK?
Date: Fri, 6 Aug 2004 19:41:53 -0700	[thread overview]
Message-ID: <20040807024153.GB25900@twiddle.net> (raw)
In-Reply-To: <4113D480.9050003@am.sony.com>

On Fri, Aug 06, 2004 at 11:57:04AM -0700, Tim Bird wrote:
>  2) avoid wasting space with multiple function copies

Mostly this one.  The translation units that do the EXTERN_INLINE
defines also define tables containing (among other things) pointers
to all of these functions.  So we *know* that we require one out-of-line
copy in one translation unit, so we might as well make that version the
canonical out-of-line copy.

Also, I seem to recall some multiply-defined symbol something or
other the last time someone messed with our inlining construct.


r~

  reply	other threads:[~2004-08-07  2:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-06  0:39 Is extern inline -> static inline OK? Tim Bird
2004-08-06  0:58 ` H. Peter Anvin
2004-08-06 22:29   ` Tim Bird
2004-08-06 22:29     ` H. Peter Anvin
     [not found] ` <20040806070027.GA20642@twiddle.net>
2004-08-06 18:57   ` Tim Bird
2004-08-07  2:41     ` Richard Henderson [this message]
     [not found] <2q0Wb-2Tc-17@gated-at.bofh.it>
     [not found] ` <2q1pe-3hq-17@gated-at.bofh.it>
     [not found]   ` <2qlo1-wO-37@gated-at.bofh.it>
2004-08-06 23:26     ` Andi Kleen
2004-08-07  1:26       ` 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=20040807024153.GB25900@twiddle.net \
    --to=rth@twiddle.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tim.bird@am.sony.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