HomeFreeBSD

Only demote when needed in the arm64 pmap_change_props_locked

Description

Only demote when needed in the arm64 pmap_change_props_locked

When changing page table properties there is no need to demote a
level 1 or level 2 block if we are changing the entire memory range the
block is mapping. In this case just change the block directly.

Reported by: alc, kib, markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32339

(cherry picked from commit 806a88e742002b0e82a4ea06f8e147f627947c2c)

Details

Provenance
andrewAuthored on Oct 6 2021, 4:38 PM
Differential Revision
D32339: Only demote when needed in the arm64 pmap_change_props_locked
Parents
rGf803dd1e24ea: Add pmap_change_prot on arm64
Branches
Unknown
Tags
Unknown