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

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

 



Perhaps this question belongs in ceph-dev ?


*Marco Garc?s*
*#sysadmin*
Maputo - Mozambique
*[Phone]* +258 84 4105579
*[Skype]* marcogarces

On Mon, Sep 15, 2014 at 12:28 PM, Tim Zhang <cofol1986 at gmail.com> wrote:

> 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
>
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140915/ceb03b18/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