kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: pullip.cho@samsung.com (KyongHo Cho)
To: kernelnewbies@lists.kernelnewbies.org
Subject: if stmt in kernel source
Date: Tue, 14 Jun 2011 14:34:29 +0900	[thread overview]
Message-ID: <BANLkTimuB94mqA63YcOs=zZ8gWh-EE9vXA@mail.gmail.com> (raw)
In-Reply-To: <BANLkTik6zBHLTuXB7oGibhN6_gZF6OJEKA@mail.gmail.com>

On Tue, Jun 14, 2011 at 2:27 PM, Venkateswarlu P
<p.venkatesh551@gmail.com> wrote:
> explain about? likely??? and? unlikely??????? constructs??????? used in if
> stmt

AFAIK, it is a hint to the compiler if the condition of conditional
statement is likely to be true or not
for code optimization with branch predictor.

      reply	other threads:[~2011-06-14  5:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14  5:27 if stmt in kernel source Venkateswarlu P
2011-06-14  5:34 ` KyongHo Cho [this message]

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='BANLkTimuB94mqA63YcOs=zZ8gWh-EE9vXA@mail.gmail.com' \
    --to=pullip.cho@samsung.com \
    --cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).