I don't know where the file came from, but likely/unlikely markers are the kind of micro-optimization that isn't worth the cost in Ceph dev resources right now. -Greg
On Monday, September 15, 2014, Tim Zhang <cofol1...@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 > -- Software Engineer #42 @ http://inktank.com | http://ceph.com
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com