public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: davidm@hpl.hp.com, davidm@napali.hpl.hp.com
Cc: hugh@veritas.com, linux-kernel@vger.kernel.org, andrea@suse.de,
	torvalds@transmeta.com
Subject: Re: Q: PREFETCH_STRIDE/16
Date: Thu, 23 May 2002 09:21:55 -0700 (PDT)	[thread overview]
Message-ID: <20020523.092155.70675460.davem@redhat.com> (raw)
In-Reply-To: <15597.6222.724619.443491@napali.hpl.hp.com>

   From: David Mosberger <davidm@napali.hpl.hp.com>
   Date: Thu, 23 May 2002 09:26:54 -0700
   
   That code certainly wasn't optimized for ia64.  Furthermore, I also do
   not like the prefetch distance it's using.  In fact, in my ia64-patch,
   I use the following code instead:
   
   		prefetchw(pmd + j + PREFETCH_STRIDE/sizeof(*pmd));
   
   This is more sensible (because it really does prefetch by the
   PREFETCH_STRIDE distance) and it also happens to run (slightly) faster
   on Itanium.

All of these particular prefetches are amusing, with or without your
fix, considering there are other more powerful ways to optimize this
stuff. :-)


  reply	other threads:[~2002-05-23 16:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-23 15:12 Q: PREFETCH_STRIDE/16 Hugh Dickins
2002-05-23 16:26 ` David Mosberger
2002-05-23 16:21   ` David S. Miller [this message]
2002-05-23 16:43     ` David Mosberger
2002-05-23 16:34       ` David S. Miller
2002-05-23 17:02         ` David Mosberger
2002-05-23 17:00           ` David S. Miller
2002-05-23 18:32             ` David Mosberger

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=20020523.092155.70675460.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=andrea@suse.de \
    --cc=davidm@hpl.hp.com \
    --cc=davidm@napali.hpl.hp.com \
    --cc=hugh@veritas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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