From: Pavel Machek <pavel@ucw.cz>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
linux-kernel@vger.kernel.org, matthew@wil.cx, rth@twiddle.net
Subject: Re: When should we use likely() / unlikely() / get_unaligned() ?
Date: Mon, 16 Feb 2004 12:39:46 +0100 [thread overview]
Message-ID: <20040216113946.GB470@openzaurus.ucw.cz> (raw)
In-Reply-To: <1076238833.12587.229.camel@imladris.demon.co.uk>
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
prev parent reply other threads:[~2004-02-16 13:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-06 11:06 David Woodhouse
2004-02-08 10:43 ` Rusty Russell
2004-02-08 11:13 ` David Woodhouse
2004-02-08 23:00 ` Rusty Russell
2004-02-08 23:06 ` David Woodhouse
2004-02-08 23:11 ` David S. Miller
2004-02-08 23:14 ` David Woodhouse
2004-02-16 11:39 ` Pavel Machek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040216113946.GB470@openzaurus.ucw.cz \
--to=pavel@ucw.cz \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew@wil.cx \
--cc=rth@twiddle.net \
--cc=rusty@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®