Re: regarding synchronization code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> On 9/24/2010 at 06:56 PM, in message
<AANLkTikhWVuL18zRcPTu2TcEQrv8Bpr4O0eafNsPgNjt@xxxxxxxxxxxxxx>, Sri Ram
Vemulpali <sri.ram.gmu06@xxxxxxxxx> wrote: 
> Hi all,
> 
>   I am encountering alot macros in the code. I did not understand what
> those macro means.
> 
>   Can anyone explain them and the use of them putting them like that.
> 
>    "unlikely"

Related to gcc branch-prediction, iirc.

>    "always_inline"  -- defined at the signature of the function.
>    "inline" -- I know inline keyword in compiler is used to place the
> code in to the caller function at the time of compiler, but why
> declared as macro

Probably so it can be enabled/disabled as a .config option.

Kind Regards,
-Greg

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux