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. Maciej