Page MenuHomeFreeBSD

Start the arm64 pmap_pte at level 0
Needs ReviewPublic

Authored by andrew on Dec 20 2021, 10:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 17, 1:11 PM
Unknown Object (File)
Mon, Nov 17, 4:31 AM
Unknown Object (File)
Tue, Nov 11, 7:35 PM
Unknown Object (File)
Wed, Oct 29, 12:54 PM
Unknown Object (File)
Wed, Oct 29, 12:53 PM
Unknown Object (File)
Wed, Oct 29, 12:52 PM
Unknown Object (File)
Tue, Oct 28, 10:16 PM
Unknown Object (File)
Oct 21 2025, 8:16 AM
Subscribers

Details

Reviewers
alc
kib
markj
manu
Group Reviewers
arm64
Summary

Return early when the level 0 page table is invalid. This will allows
us to skip over the entire memory range when walking the page tables.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43496
Build 40384: arc lint + arc unit

Event Timeline

I'm confused. I don't see how this change makes any functional difference. The original code set *level == 0 and returned NULL when the L0 entry was not L0_TABLE, and only under those circumstances.