linux-um archives
 help / color / mirror / Atom feed
From: Stanislav Meduna <stano@meduna.org>
To: Ingo van Lil <inguin@gmx.de>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Multi-threaded applications and floating point registers
Date: Tue, 07 Apr 2009 20:27:31 +0200	[thread overview]
Message-ID: <49DB9B13.80203@meduna.org> (raw)
In-Reply-To: <49DB91C6.7030005@gmx.de>

Ingo van Lil wrote:

> I'm experiencing some weird problems with a multi-threaded application 
> I'm working on: A function which uses nothing but a single input value, 
> a few constants and a couple of floating point operations returns wrong 
> results from time to time. The application uses multiple threads, and 
> we're suspecting that the FPU state isn't properly saved and restored 
> when switching between threads within a process.

I had a similar problem between processes a few months ago,
I also posted an example, unfortunately with no resolution
nor further inquiries from the developers. I suspect the skas3
patch does not get much attention now...

Try to run the guest with mode=skas0 - in my case it eliminated
the problem and the guest is running for months without a hiccup.
If your problem is the same, it will probably help as well.

> We're suspecting that the problem has been introduced by the
> patch [1] to stop saving the process FP state which has been
> applied just before 2.6.24-rc1.

In my case it was reproducible with 2.6.23.17 as well.

Regards
-- 
                                      Stano

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


  reply	other threads:[~2009-04-07 18:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-07 17:47 [uml-devel] Multi-threaded applications and floating point registers Ingo van Lil
2009-04-07 18:27 ` Stanislav Meduna [this message]
2009-04-07 21:23   ` Ingo van Lil

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=49DB9B13.80203@meduna.org \
    --to=stano@meduna.org \
    --cc=inguin@gmx.de \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox