HomeFreeBSD

amd64/arm64: Eliminate unnecessary demotions in pmap_protect()

Description

amd64/arm64: Eliminate unnecessary demotions in pmap_protect()

In pmap_protect(), when the mapping isn't changing, we don't need to
perform a superpage demotion, even though the requested change doesn't
cover the entire superpage.

Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D45886

Details

Provenance
alcAuthored on Jul 5 2024, 6:20 PM
Reviewer
kib
Differential Revision
D45886: amd64/arm64: Eliminate unnecessary demotions in pmap_protect()
Parents
rGd8a99eaa1f06: rpcbind: Add option to disable local host binding
Branches
Unknown
Tags
Unknown