This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [SPATCH] Use __glibc_likely and __glibc_unlikely.


On Mon, May 20, 2013 at 09:28:53PM +0200, OndÅej BÃlka wrote:
> Hi,
> 
> I as Andy suggested tried coccinette. I decided as first example
> rewrite builtin_expect to glibc_likely/unlikely.
> 
> The script I ran is below (could take hour to run).
> 
> Generated patches are here, they are 100kb and 500kb files.
> 
> http://kam.mff.cuni.cz/~ondra/expect.patch
> http://kam.mff.cuni.cz/~ondra/expect2.patch

You could make them per-module patches, which should make them easier
to review for you as well as the peer reviewer.

Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]