HomeFreeBSD

arm64/vmm: Simplify vmmpmap_remove()

Description

arm64/vmm: Simplify vmmpmap_remove()

This function handles invalid intermediate PTP entries, but there's no
reason for this: the passed range should be mapped. In particular, we
assert that all L3 entries encountered are mapped. So let's simplify
the code a bit. No functional change intended.

Reviewed by: andrew
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D54738

(cherry picked from commit 31e5decb18a6633f5137848b5734310b41fc3bdc)

Details

Provenance
markjAuthored on Jan 26 2026, 9:05 PM
Reviewer
andrew
Differential Revision
D54738: arm64/vmm: Simplify vmmpmap_remove()
Parents
rGc8dad6820630: pf tests: Set require.kmods in divert-to tests
Branches
Unknown
Tags
Unknown