kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* if stmt in kernel source
@ 2011-06-14  5:27 Venkateswarlu P
  2011-06-14  5:34 ` KyongHo Cho
  0 siblings, 1 reply; 2+ messages in thread
From: Venkateswarlu P @ 2011-06-14  5:27 UTC (permalink / raw)
  To: kernelnewbies

explain about * likely *   and * unlikely  *      constructs        used in*if
* stmt















**
P VENKATESWARLU
M.Tech (CSE) II year
NIT Calicut ,Kerala* **
*+91-9995115752
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110614/5645d009/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* if stmt in kernel source
  2011-06-14  5:27 if stmt in kernel source Venkateswarlu P
@ 2011-06-14  5:34 ` KyongHo Cho
  0 siblings, 0 replies; 2+ messages in thread
From: KyongHo Cho @ 2011-06-14  5:34 UTC (permalink / raw)
  To: kernelnewbies

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-14  5:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-14  5:27 if stmt in kernel source Venkateswarlu P
2011-06-14  5:34 ` KyongHo Cho

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).