Page MenuHomeFreeBSD

Do not do torn writes to active LDTs.
ClosedPublic

Authored by kib on Sep 19 2017, 12:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 9, 11:56 PM
Unknown Object (File)
Fri, Nov 21, 12:57 PM
Unknown Object (File)
Fri, Nov 21, 12:57 PM
Unknown Object (File)
Fri, Nov 21, 12:52 PM
Unknown Object (File)
Fri, Nov 21, 12:52 PM
Unknown Object (File)
Nov 8 2025, 10:09 PM
Unknown Object (File)
Nov 7 2025, 4:54 AM
Unknown Object (File)
Nov 7 2025, 1:41 AM
Subscribers

Details

Summary

Care must be taken when updating the active LDT, since parallel threads might try to load a segment descriptor which is currently updated. Since the results are undefined, this cannot be ignored by claiming to be an application race.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Sep 19 2017, 4:59 PM
This revision was automatically updated to reflect the committed changes.