lkml.org 
[lkml]   [2001]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: K7/Athlon optimizations and Sacrifices to the Great Ones.
On Thu, 6 Sep 2001, Dan Hollis wrote:

> Anyone yet verified if burnMMX2 causes the same failures the
> athlon-optimized kernel does?

several versions of Robert's burnMMX2 run on by problematic athlons
without failing for several hours.

I did some trial and error modifications to mmx.c and found out
that this one makes my athlons happy (but must admin i have
no clue why). it seems to run stable now.

--- linux-2.4.9/arch/i386/lib/mmx.c Tue May 22 19:23:16 2001
+++ linux-2.4.9-ac6-hack/arch/i386/lib/mmx.c Sat Sep 8 00:51:33 2001
@@ -194,6 +194,9 @@
: : "r" (from), "r" (to) : "memory");
from+=64;
to+=64;
+ __asm__ __volatile__ (
+ " sfence \n" : :
+ );
}
for(i=(4096-320)/64; i<4096/64; i++)
{
maybe someone with more knowledge can take a look..

ciao,
heinz

--
Heinz Deinhart <heinz@auto.tuwien.ac.at>
+43 1 58801-18321
Technische Universitaet Wien, Dept. E183/1

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

\
 
 \ /
  Last update: 2005-03-22 13:02    [W:0.064 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site