HomeFreeBSD

vm_map: Add a map entry kind that can only be clipped at specific boundary.

Description

vm_map: Add a map entry kind that can only be clipped at specific boundary.

The entries and their clip boundaries must be aligned on supported
superpages sizes from pagesizes[]. vm_map operations return Mach
error KERN_INVALID_ARGUMENT, which is usually translated to EINVAL, if
it would require clip not at the boundary.

In other words, entries force preserving virtual addresses superpage
properties.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D24652

Details

Provenance
kibAuthored on
Reviewer
markj
Differential Revision
D24652: Non-transparent superpages support.
Parents
rS365519: MFC r365279:
Branches
Unknown
Tags
Unknown