[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: RE: [Xen-devel] wget and Zope crashes on post-2.0.6 -testing



 
> I observed that the first userspace process that uses the FPU 
> will SIGFPE once. Afterwards everything runs just fine ...
> 
> You description looks like it matches exactly the 
> misbehaviour I've been seeing.

Got any more critical bugs you're not telling us about? :-)

> Is attached patch the right way to fix this?

I think that should work (with the obvious kernel_ prefix), but I've
appeneded what we've gone for.

Best,
Ian 

--- linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/bugs.h
2005-06-08 22:08:52.000000000 +0100
+++ linux-2.6.11-xen0/include/asm-i386/bugs.h   2005-03-02
07:37:49.000000000 +0000
@@ -107,7 +107,6 @@
                "fninit"
                : "=m" (*&boot_cpu_data.fdiv_bug)
                : "m" (*&x), "m" (*&y));
+       stts();
        if (boot_cpu_data.fdiv_bug)
                printk("Hmm, FPU with FDIV bug.\n");
 }


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.