From: Andi Kleen <ak@suse.de>
To: Andi Kleen <ak@suse.de>
Cc: ap@swapped.cc, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [2.6] [2/2] hlist: remove IFs from hlist functions
Date: Sat, 14 Feb 2004 20:43:26 +0100 [thread overview]
Message-ID: <20040214204326.4d9fc423.ak@suse.de> (raw)
In-Reply-To: <20040214195949.2ad9aa4f.ak@suse.de>
On Sat, 14 Feb 2004 19:59:49 +0100
Andi Kleen <ak@suse.de> wrote:
>
> A full cache miss is extremly costly on a modern Gigahertz+ CPU because
> memory and busses are far slower than the CPU core. As a rule of
> thumb 1000+ cycles. An CMP is extremly cheap (a few cycles at worst),
> the only thing that could be more expensive is an mispredicted conditional
> jump triggered by the CMP. But even that would be at best a few tens of cycles.
> If everything is mispredicted which should be common it's extremly fast
^^^^^^^^^^^^^
predicted of course
-Andi
next prev parent reply other threads:[~2004-02-11 17:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4029CB7E.4030003@swapped.cc.suse.lists.linux.kernel>
[not found] ` <4029CF24.1070307@osdl.org.suse.lists.linux.kernel>
[not found] ` <4029D2D5.7070504@swapped.cc.suse.lists.linux.kernel>
2004-02-11 8:55 ` [PATCH] [2.6] [2/2] hlist: remove IFs from hlist functions Andi Kleen
2004-02-11 16:48 ` Alex Pankratov
2004-02-14 18:59 ` Andi Kleen
2004-02-12 4:42 ` Alex Pankratov
2004-02-14 19:43 ` Andi Kleen [this message]
2004-02-11 6:28 Alex Pankratov
2004-02-11 6:43 ` Stephen Hemminger
2004-02-11 6:59 ` Alex Pankratov
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=20040214204326.4d9fc423.ak@suse.de \
--to=ak@suse.de \
--cc=ap@swapped.cc \
--cc=linux-kernel@vger.kernel.org \
/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