Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@oss.sgi.com>
To: Carsten Langgaard <carstenl@mips.com>
Cc: linux-mips@oss.sgi.com
Subject: Re: an old FPU context corruption problem when signal happens
Date: Tue, 25 Dec 2001 04:51:34 -0200	[thread overview]
Message-ID: <20011225045134.A17007@dea.linux-mips.net> (raw)
In-Reply-To: <20011225044125.A16759@dea.linux-mips.net>; from ralf@oss.sgi.com on Tue, Dec 25, 2001 at 04:41:25AM -0200

On Tue, Dec 25, 2001 at 04:41:25AM -0200, Ralf Baechle wrote:

> > Are you sure this hasn't been fix in the latest sources (2.4.16) ?
> > I have send a patch to Ralf, which I believe solves a similar problem as
> > you describe below.
> > 
> > Ralf have you applied the patch ?
> 
> Well, I applied it but it's really broken as something can be.  Just an
> example:
> 
> +       /* 
> +        * FPU emulator may have it's own trampoline active just
> +        * above the user stack, 16-bytes before the next lowest
> +        * 16 byte boundary.  Try to avoid trashing it.
> +        */
> +       sp -= 32;
> 
> So the whole thing needs some overhaul.

Btw, the whole fp trampoline thing will have to die anyway.  Virtually
indexed i-caches on some new types of SMP are making them even more
expensive then they already are.

  Ralf

  reply	other threads:[~2001-12-26 21:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-20  1:04 an old FPU context corruption problem when signal happens Jun Sun
2001-12-20  7:58 ` Carsten Langgaard
2001-12-20 17:16   ` Jun Sun
2001-12-25  6:41   ` Ralf Baechle
2001-12-25  6:51     ` Ralf Baechle [this message]
2001-12-27 10:53     ` Carsten Langgaard
2002-01-02  4:34       ` Ralf Baechle

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=20011225045134.A17007@dea.linux-mips.net \
    --to=ralf@oss.sgi.com \
    --cc=carstenl@mips.com \
    --cc=linux-mips@oss.sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox