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
F136436687: D30876.id91301.diff
Mon, Nov 17, 7:19 PM
Unknown Object (File)
Sun, Nov 16, 1:21 PM
Unknown Object (File)
Sun, Nov 16, 6:34 AM
Unknown Object (File)
Sun, Nov 16, 6:24 AM
Unknown Object (File)
Sun, Nov 16, 4:28 AM
Unknown Object (File)
Sat, Nov 15, 11:52 PM
Unknown Object (File)
Sat, Nov 15, 8:58 PM
Unknown Object (File)
Sat, Nov 15, 8:57 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.