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)
Fri, Jan 9, 10:50 PM
Unknown Object (File)
Fri, Jan 9, 10:32 PM
Unknown Object (File)
Fri, Jan 9, 12:07 PM
Unknown Object (File)
Sat, Dec 27, 7:04 AM
Unknown Object (File)
Dec 12 2025, 9:48 PM
Unknown Object (File)
Dec 9 2025, 11:56 PM
Unknown Object (File)
Nov 21 2025, 12:57 PM
Unknown Object (File)
Nov 21 2025, 12:57 PM
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.