Re: branch annotation

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

 




On Sun, Aug 29, 2010 at 12:10 AM, Denis Kirjanov <kirjanov@xxxxxxxxx> wrote:
Read the following post with a great explanation of the
__builtin_expect feature.
http://linuxkernelpanic.blogspot.com/2010/06/using-static-branch-prediction-with-gcc.html


Hi Denis,
I read the complete post on the link you gave.
In my previous post about static inline Greg had pointed to use lxr for browsing source.
I used that and found __builtin_expect in only 2 files
http://lxr.linux.no/linux+v2.6.35/include/linux/compiler.h#L140
http://lxr.linux.no/linux+v2.6.35/tools/perf/perf.h#L110

I am clear for branch annotation part.
If some one wants to share any thing else about this please let me know here in this thread.

-- 

Regards 
James
To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux