HomeFreeBSD

arm64: remove an unneeded test from pmap_clear_modify()

Description

arm64: remove an unneeded test from pmap_clear_modify()

The page table entry for a 4KB page mapping must be valid if a PV entry
for the mapping exists, so there is no point in testing each page table
entry's validity when iterating over a PV list.

Reviewed by: kib, markj

(cherry picked from commit 62ea198e95f139e6b8041ec44f75d65aa26970d0)

Details

Provenance
alcAuthored on Jun 23 2021, 5:10 AM
markjCommitted on Aug 31 2021, 7:09 PM
Parents
rG90303162fbc5: arm64: Use page_to_pvh() when the vm_page_t is known
Branches
Unknown
Tags
Unknown