HomeFreeBSD

Do not do torn writes to active LDTs.

Description

Do not do torn writes to active LDTs.

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.

Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D12413

Details

Provenance
kibAuthored on
Reviewer
jhb
Differential Revision
D12413: Do not do torn writes to active LDTs.
Parents
rS323771: Avoid going into an infinite decrementer interrupt loop if the kernel
Branches
Unknown
Tags
Unknown