HomeFreeBSD

pmap: Micro-optimize pmap_remove_pages() on amd64 and arm64

Description

pmap: Micro-optimize pmap_remove_pages() on amd64 and arm64

Reduce the live ranges for three variables so that they do not span the
call to PHYS_TO_VM_PAGE(). This enables the compiler to generate
slightly smaller machine code.

Reviewed by: kib, markj

(cherry picked from commit d411b285bc293a37e062d8fb15b85212ce16abab)

Details

Provenance
alcAuthored on Jul 12 2021, 11:25 PM
markjCommitted on Sep 1 2021, 1:29 PM
Parents
rG4b38880259e8: Clear the accessed bit when copying a managed superpage mapping
Branches
Unknown
Tags
Unknown