HomeFreeBSD

On amd64, mark the set_user_ldt() function as static.

Description

On amd64, mark the set_user_ldt() function as static.

On i386, the function is used from the context switch code and needs
to be accessible externally. Amd64 MD context switch does not lock an
LDT spinlock and inlines switching in assembly.

Discussed with: bde
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Oct 5 2017, 11:50 AM
Parents
rG37afe7dfd2a6: Reduce default max_ldt_segment value to 512.
Branches
Unknown
Tags
Unknown

Event Timeline