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

Stanislav Meduna 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...

Yes, I remember the thread. I don't think we're hitting the same
problem, though: I'm not using the SKAS3 patch, and I did not notice any
kind of cross-process influence. The effect is limited to threads
sharing a single process context.

Regards,
Ingo

------------------------------------------------------------------------------
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 21:23 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
2009-04-07 21:23   ` Ingo van Lil [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=49DBC44A.5070700@gmx.de \
    --to=inguin@gmx.de \
    --cc=stano@meduna.org \
    --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 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.