why no likely() and unlikely() used in Ceph's source code?

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

 



Hey guys,
After reading ceph source code, I find that there is a file named
common/likely.h and it implements the function likely() and unlikey() which
will optimize the prediction of code branch for cpu.
 But there isn't any place using these two functions, I am curious
about why the developer of ceph not using these two functions to achieve
more performance. Can anyone provide some hints?
BR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140915/8a352e8f/attachment.htm>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux