I am just saying I know inline keyword. But what is always_inline. Thanks for replies and explanations. I got it now. Regards, Sri. On Sat, Sep 25, 2010 at 4:48 AM, Michael Blizek <michi1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > Hi! > > On 18:56 Fri 24 Sep   , Sri Ram Vemulpali 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" > > likely() and unlikely() are wrappers around gcc extensions to give hints about > whether a given branch will likely be taken or not. When done correctly, this > can improve performance. > >>  Â"always_inline" Â-- defined at the signature of the function. > > This can be used because "inline" is not always inlined. There should be a gcc > option which causes all inline code to be not inlined. > >>  Â"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 > > Where do you see inline declared as a macro? > >    Â-Michi > -- > programing a layer 3+4 network protocol for mesh networks > see http://michaelblizek.twilightparadox.com > > -- Regards, Sri. -- 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