From: Keir Fraser <keir.fraser@eu.citrix.com>
To: "Mick.Jordan@sun.com" <Mick.Jordan@sun.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Xen guest floating point problem
Date: Tue, 04 Aug 2009 09:16:05 +0100 [thread overview]
Message-ID: <C69DACD5.1141F%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <4A7777F6.405@Sun.COM>
On 04/08/2009 00:51, "Mick Jordan" <Mick.Jordan@sun.com> wrote:
> We have a simple C test program that runs on our evolved version of
> Mini-OS (GUK) that exhibits sporadic non-deterministic failure regarding
> floating point computations (mostly calling the __ieee754_remainder
> method of fdlibm). Typically about 5 computations in 10000 fail, usually
> with Nan or Infinite values showing up. We are as convinced as we can be
> at this point that the GUK code is not corrupting the floating point
> state, so are down to two ideas. One is a bug in Xen on guest context
> switching or event delivery regarding the FP state. The other is that
> GUK is failing to obey some Xen API contract regarding FP state. For
> example, timer and xenstore events are being delivered during the run
> although we can't correlate them directly to the fault.
>
> The program fails on both Solaris xVM 3.1.4, xVM 3.3, various Linux
> 3.1.4 systems, but does not fail when run on Solaris or Linux domUs.
> This points the finger at GUK but we are wondering whether they have a
> workaround for some problem we are not aware of.
I don't think the guest should have to do anything special regarding
handling FP state. Xen should automatically save/restore the state as
necessary. We had bugs in this area long ago, but they were fixed and I'd be
surprised if problems had crept back in.
-- Keir
prev parent reply other threads:[~2009-08-04 8:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-03 23:51 Xen guest floating point problem Mick Jordan
2009-08-04 8:16 ` Keir Fraser [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=C69DACD5.1141F%keir.fraser@eu.citrix.com \
--to=keir.fraser@eu.citrix.com \
--cc=Mick.Jordan@sun.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.