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)
Mon, Jul 6, 10:26 PM
Unknown Object (File)
Mon, Jul 6, 9:33 PM
Unknown Object (File)
Jun 13 2026, 3:09 PM
Unknown Object (File)
Jun 12 2026, 1:19 PM
Unknown Object (File)
Jun 10 2026, 6:57 AM
Unknown Object (File)
May 28 2026, 5:10 PM
Unknown Object (File)
May 27 2026, 4:01 PM
Unknown Object (File)
May 11 2026, 2:04 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.