lkml.org 
[lkml]   [2004]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: When should we use likely() / unlikely() / get_unaligned() ?
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.116 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site