if stmt in kernel source

KyongHo Cho pullip.cho at samsung.com
Tue Jun 14 01:34:29 EDT 2011


On Tue, Jun 14, 2011 at 2:27 PM, Venkateswarlu P
<p.venkatesh551 at 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.



More information about the Kernelnewbies mailing list