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)
Tue, Dec 10, 9:44 PM
Unknown Object (File)
Wed, Nov 27, 2:35 AM
Unknown Object (File)
Wed, Nov 27, 2:35 AM
Unknown Object (File)
Nov 4 2024, 5:49 PM
Unknown Object (File)
Oct 31 2024, 3:33 AM
Unknown Object (File)
Oct 29 2024, 8:20 AM
Unknown Object (File)
Oct 2 2024, 5:11 PM
Unknown Object (File)
Oct 1 2024, 7:58 PM
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.