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
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30875

Details

Provenance
alcAuthored on Jun 23 2021, 5:10 AM
Reviewer
kib
Differential Revision
D30875: arm64: remove an unneeded test from pmap_clear_modify()
Parents
rGf13da24715a7: net/bpf: Fix writing of buffer bigger than PAGESIZE
Branches
Unknown
Tags
Unknown