Page MenuHomeFreeBSD

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

Authored by alc on Jun 23 2021, 8:01 AM.
Tags
None
Referenced Files
F140452194: D30876.diff
Wed, Dec 24, 2:04 AM
Unknown Object (File)
Wed, Dec 3, 4:06 AM
Unknown Object (File)
Thu, Nov 27, 3:24 PM
Unknown Object (File)
Wed, Nov 26, 11:27 PM
Unknown Object (File)
Nov 23 2025, 8:39 PM
Unknown Object (File)
Nov 17 2025, 7:19 PM
Unknown Object (File)
Nov 16 2025, 1:21 PM
Unknown Object (File)
Nov 16 2025, 6:34 AM
Subscribers

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

alc requested review of this revision.Jun 23 2021, 8:01 AM
This revision is now accepted and ready to land.Jun 23 2021, 9:55 AM
markj added inline comments.
sys/arm64/arm64/pmap.c
2859

We use Ln_ENTRIES instead of L2_SIZE / PAGE_SIZE elsewhere, but it's not really consistent within the pmap.

sys/arm64/arm64/pmap.c
2859

I believe that we are using Ln_ENTRIES when iterating over page table entries and L2_SIZE / PAGE_SIZE when iterating over vm_pages.