Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata

From: Dave Jones
Date: Tue Sep 16 2003 - 08:32:35 EST


On Tue, Sep 16, 2003 at 12:46:36PM +0100, Jamie Lokier wrote:

> > The user space problem worries me more, because the expectation
> > is that if CPUID says the program can use perfetch, it could
> > and should regardless of what the kernel decided to do here.
>
> If the workaround isn't compiled in, "prefetch" should be removed from
> /proc/cpuinfo on the buggy chips.

prefetch isn't a cpuid feature flag. The only way you could do
what you suggest is by removing '3dnow' or 'sse', which cripples
things more than necessary.

Dave

--
Dave Jones http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/