[Top] [All Lists]

Re: preempt safe fpu-emulator

To: Ralf Baechle <>
Subject: Re: preempt safe fpu-emulator
From: "Maciej W. Rozycki" <>
Date: Thu, 28 Apr 2005 16:25:30 +0100 (BST)
Cc: "Kevin D. Kissell" <>, Atsushi Nemoto <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <002d01c54bfa$5b913f80$0deca8c0@Ulysses> <>
On Thu, 28 Apr 2005, Ralf Baechle wrote:

> > When I first integrated the Algorithmics emulator with the Linux kernel
> > several years back, I tried doing something like this but ran into some
> > problem that I cannot recall exactly - there may have been some case
> > where the system expected threads to "inherit" FCSR changes.  I agree
> > that this is an obviously cleaner approach, but be careful.
> The global variables definately won't fly anymore in preemptable and SMP
> kernels.  Or rather any attempt to get that to work would only make things
> worse, so they had to go.

 It depends on how they were actually used -- real FPU circuitry is 
"global", too, and somehow it works or at least it has to.


<Prev in Thread] Current Thread [Next in Thread>