Bodo Stroesser <bstroesser@xxxxxxxxxxxxxxxxxxx> writes:Wouldn't it be better to also reset used_math to 0? (As it has been,
Now, the interrupted processes fpu no longer is cleared!
I agree it's a bug, although it's probably pretty obscure so people
didn't notice it. The right fix would be to just clear_fpu again
in this case. The problem has been in Linux forever.
Here's an untested patch for i386 and x86-64.