Page MenuHomeFreeBSD

add INUSE flag to x86 fpu routines
ClosedPublic

Authored by jmg on Jul 7 2015, 4:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 5:49 PM
Unknown Object (File)
Thu, Oct 31, 3:33 AM
Unknown Object (File)
Tue, Oct 29, 8:20 AM
Unknown Object (File)
Oct 2 2024, 5:11 PM
Unknown Object (File)
Oct 1 2024, 7:58 PM
Unknown Object (File)
Sep 29 2024, 6:35 PM
Unknown Object (File)
Sep 27 2024, 9:14 AM
Unknown Object (File)
Sep 23 2024, 11:02 AM
Subscribers

Details

Summary

This adds an inuse flag to the fpu_ctx so that multiple threads
cannot use the same fpu_ctx possibly corrupting the other... This
enforces the requirement only when INVARIANTS is compiled, and
has been verified to catch this incorrect usage...

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jmg retitled this revision from to add INUSE flag to amd64's fpu.
jmg updated this object.
jmg edited the test plan for this revision. (Show Details)
jmg added reviewers: kib, gnn, eri.

remove ifdef INVARIANTS, and add i386 support..

jmg retitled this revision from add INUSE flag to amd64's fpu to add INUSE flag to x86 fpu routines.Jul 7 2015, 5:44 PM
kib edited edge metadata.
This revision is now accepted and ready to land.Jul 8 2015, 9:33 AM
gnn edited edge metadata.
This revision was automatically updated to reflect the committed changes.