[PATCH 1/3] Fix Unlikely(x) == y

Arjan van de Ven arjan at infradead.org
Sun Feb 17 04:25:52 EST 2008


On Sat, 16 Feb 2008 17:08:01 +0100
Roel Kluin <12o3l at tiscali.nl> wrote:

> The patch below was not yet tested. If it's correct as it is, please
> comment. ---
> Fix Unlikely(x) == y
> 

you found a great set of bugs..
but to be honest... I suspect it's just best to remove unlikely altogether for these cases;
unlikely() is almost a go-faster-stripes thing, and if you don't know how to use it you shouldn't
be using it... so just removing it for all wrong cases is actually the best thing to do imo.

-- 
If you want to reach me at my work email, use arjan at linux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org



More information about the Linuxppc-dev mailing list