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
Unknown Object (File)
Sep 22 2025, 12:19 AM
Unknown Object (File)
Aug 5 2025, 4:08 PM
Unknown Object (File)
Jul 26 2025, 11:40 AM
Unknown Object (File)
Jul 7 2025, 5:26 AM
Unknown Object (File)
Jun 29 2025, 2:09 AM
Unknown Object (File)
Jun 23 2025, 7:34 AM
Unknown Object (File)
Jun 20 2025, 7:22 AM
Unknown Object (File)
Jun 19 2025, 3:35 PM
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.