public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Fedyk <mfedyk@matchmail.com>
To: Andrew Morton <akpm@osdl.org>
Cc: "Marco d'Itri" <md@Linux.IT>, linux-kernel@vger.kernel.org
Subject: prefetchnta on athlon was: Re: an oops in 2.6-test2 (oops)
Date: Sun, 17 Aug 2003 09:47:47 -0700	[thread overview]
Message-ID: <20030817164747.GW1027@matchmail.com> (raw)
In-Reply-To: <20030816122640.69650c65.akpm@osdl.org>

On Sat, Aug 16, 2003 at 12:26:40PM -0700, Andrew Morton wrote:
> And you'll continue to get them until someone does something about it. 
> Discussion seemed to die off on this problem.
> 
> Until it is sorted, something like this is needed.
> 
> 
> diff -puN include/asm-i386/processor.h~disble-athlon-prefetch include/asm-i386/processor.h
> --- 25/include/asm-i386/processor.h~disble-athlon-prefetch	2003-08-16 12:22:32.000000000 -0700
> +++ 25-akpm/include/asm-i386/processor.h	2003-08-16 12:23:29.000000000 -0700
> @@ -568,6 +568,8 @@ static inline void rep_nop(void)
>  #define ARCH_HAS_PREFETCH
>  extern inline void prefetch(const void *x)
>  {
> +	if (current_cpu_data.x86_vendor == X86_VENDOR_AMD)
> +		return;

Andrew, if you put this patch in -mm please add a nice big comment above it,
and put it in the "must fix before 2.6.0" list.

      reply	other threads:[~2003-08-17 16:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-16 11:27 an oops in 2.6-test2 (oops) Marco d'Itri
2003-08-16 19:26 ` Andrew Morton
2003-08-17 16:47   ` Mike Fedyk [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=20030817164747.GW1027@matchmail.com \
    --to=mfedyk@matchmail.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=md@Linux.IT \
    /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