RE: [PATCH] Mutilated form of Andi Kleen's AMD prefetch errata patch

Nakajima, Jun
2003-10-01T02:23:20Z

Oh, I thought you already closed this issue and you were discussing a
different thing.

I agree. They kernel should fix up userspace for this CPU errata.

Jun

> -----Original Message-----
> From: Andrew Morton [mailto:akpm@osdl.org]
> Sent: Tuesday, September 30, 2003 7:07 PM
> To: Nakajima, Jun
> Cc: jamie@shareable.org; davej@redhat.com; torvalds@osdl.org; linux-
> kernel@vger.kernel.org; richard.brunner@amd.com
> Subject: Re: [PATCH] Mutilated form of Andi Kleen's AMD prefetch
errata
> patch
>
> "Nakajima, Jun" <jun.nakajima@intel.com> wrote:
> >
> > > I think we should fix up userspace.
> > What do you mean by this? Patch user code at runtime (it's much
more
> > complex than it sounds) or remove prefetch instructions from
userspace?
>
> Detect when user code stumbles over this CPU errata and make it look
like
> nothing happened.