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)
Feb 19 2024, 7:34 PM
Unknown Object (File)
Dec 23 2023, 6:21 PM
Unknown Object (File)
Dec 19 2023, 11:52 PM
Unknown Object (File)
Dec 11 2023, 1:38 AM
Unknown Object (File)
Dec 7 2023, 1:38 AM
Unknown Object (File)
Dec 5 2023, 1:57 AM
Unknown Object (File)
Nov 29 2023, 1:31 PM
Unknown Object (File)
Sep 16 2023, 3:36 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.