HomeFreeBSD

arm64: replace pa_to_pvh() with page_to_pvh() in pmap_remove_l2()

Description

arm64: replace pa_to_pvh() with page_to_pvh() in pmap_remove_l2()

Revise pmap_remove_l2() to use the constant-time function page_to_pvh()
instead of the linear-time function pa_to_pvh().

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

Details

Provenance
alcAuthored on Jun 23 2021, 7:14 PM
Reviewer
kib
Differential Revision
D30876: arm64: replace pa_to_pvh() with page_to_pvh() in pmap_remove_l2()
Parents
rG33e1287b6a54: amd64: do not touch BIOS reset flag halfword, unless we boot through BIOS
Branches
Unknown
Tags
Unknown