diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-01-23 14:01:56 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-01-23 14:01:56 +0100 |
commit | 3d4d5940498dabb2c7abca2acd23a7e8be83e565 (patch) | |
tree | d9585f78310ff2867676f45bbd4cf9622b43b7b9 /sys/man | |
parent | 8b95dad2080bef9958a91501a863dd29cc46345c (diff) |
pc: dont handle pending floating point exception in fpsave thru FPOFF
the FPOFF macro that follows the FXSAVE/FSAVE instructions in l.s
used to execute WAIT instruction when the TS flag was not set. this
is wrong and causes pending exceptions to be raised from fpsave which
is called from provsave() which holds up->rlock making it deadlock
when matherror() tries to postnote() to itself.
so making FPOFF non-waiting (just set TS flag).
we handle pending exception when restoring the context.
Diffstat (limited to 'sys/man')
0 files changed, 0 insertions, 0 deletions