This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [SPATCH] Use __glibc_likely and __glibc_unlikely.
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 21 May 2013 10:26:48 +0530
- Subject: Re: [SPATCH] Use __glibc_likely and __glibc_unlikely.
- References: <20130520192853 dot GA4462 at domone dot kolej dot mff dot cuni dot cz>
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