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

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

 



On Mon, 15 Sep 2014 22:48:07 +0800 Tim Zhang wrote:

> the ceph-dev always deny my mail telling that my mail is a jam because it
> include html code, actually it is not.
> 
Actually it is, like this very mail from you. 
I would think/hope that there is a configuration option in Gmail to turn
that off:

---
> Content-Type: multipart/mixed; boundary="===============0861367859=="[
> the ceph-dev always deny my mail telling that my mail is a jam because it
> include html code, actually it is not.
...
> --===============0861367859==
> Content-Type: multipart/alternative; boundary=001a11c338a213d7cb05031bb9a0
>
> --001a11c338a213d7cb05031bb9a0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: quoted-printable
...

> --001a11c338a213d7cb05031bb9a0
> Content-Type: text/html; charset=UTF-8
> Content-Transfer-Encoding: quoted-printable
> 
> <div dir=3D"ltr">the=C2=A0<span style=3D"font-family:arial,sans-serif;font-=
> size:14.399999618530273px">ceph-dev always deny my mail telling that my mai=
---

Christian

> 2014-09-15 19:43 GMT+08:00 Marco Garc?s <marco at garces.cc>:
> 
> > 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
> >>
> >>
> >


-- 
Christian Balzer        Network/Systems Engineer                
chibi at gol.com   	Global OnLine Japan/Fusion Communications
http://www.gol.com/


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


  Powered by Linux