HomeFreeBSD

Reduce default max_ldt_segment value to 512.

Description

Reduce default max_ldt_segment value to 512.

This makes the LDT to use only one page with default settings,
avoiding the need to find contigous 2 pages in KVA. It seems that
most users are fine even with 512 segments.

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

Details

Provenance
kibAuthored on
Parents
rS324301: Update comment to note that we skip LDT reload for kthreads as well.
Branches
Unknown
Tags
Unknown