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