From: David Love <dlove@nighton.net>
To: ed Wang <ice_tea_4_u@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: A simple question
Date: Fri, 09 Aug 2002 09:57:28 -0700 [thread overview]
Message-ID: <3D53F478.8010405@nighton.net> (raw)
In-Reply-To: 20020809012606.11037.qmail@web21106.mail.yahoo.com
ed Wang wrote:
> I saw a lot of function define as _inline_ in Linux
> kernel. What does the term _inline_ mean? For the
> assembly inline statement, _asm_ should do the work.
>
> Thanks for the help!
>
> Ed
>
Feel free to correct me if I'm wrong...
From my understanding, inline has asolutely nothing to do with
assembly. When a function is declared as inline, you're basically
telling the compiler that anytime it runs into this function being
called, to replace that call with the body of the function (to eliminate
the overhead of making the function call). It's great for small, little
operations that are done extremely often.
-D.Love
next prev parent reply other threads:[~2002-08-09 16:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-09 1:26 A simple question ed Wang
2002-08-09 16:57 ` David Love [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-05-07 15:29 Hai Xu
2001-05-07 15:34 ` Robert M. Love
2001-05-07 15:43 ` Feng Xian
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=3D53F478.8010405@nighton.net \
--to=dlove@nighton.net \
--cc=ice_tea_4_u@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/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