Re: When should we use likely() / unlikely() / get_unaligned() ?

From: Pavel Machek
Date: Mon Feb 16 2004 - 08:27:16 EST


Hi!

> A probability argument for get_unaligned() allows those architectures to
> _unconditionally_ emit inline unaligned load/store code, while allowing
> other, saner, architectures to start doing so only when the probability
> means it makes sense.
>
> The alternative would be a get_unlikely_unaligned() which does the same

I think that this alternative is way better than introducing
probabilities.
Pavel
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/