mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
62a50bfa38
The old code was spread out through the machdep code and was sloppy about enabling and disabling the FEN bit (which controls access to the FP register set). This caused a DIAGNOSTIC warning "DANGER WILL ROBINSON: FEN SET IN cpu_fork!" sometimes when operating under high loads and could conceivably lead to processes getting incorrect FP results. The new code is much more strict about the FEN bit and makes sure that *only* fpcurproc ever has it enabled. This also allows us to remove a section of code from the exception_return path which might improve performance marginally. Reviewed by: gallatin |
||
---|---|---|
.. | ||
alpha | ||
conf | ||
include | ||
isa | ||
linux | ||
pci | ||
tc | ||
tlsb |