HomeFreeBSD

Unmap shared page manually before doing vm_map_remove() on exit or exec

Description

Unmap shared page manually before doing vm_map_remove() on exit or exec

This allows the pmap_remove(min, max) call to see empty pmap and exploit
empty pmap optimization.

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

Details

Provenance
kibAuthored on Oct 20 2021, 8:32 PM
Reviewer
markj
Differential Revision
D32569: amd64 pmap: account for the top-level pages
Parents
rG0b3bc7288984: amd64 pmap: adjust the empty pmap optimization in pmap_remove()
Branches
Unknown
Tags
Unknown