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)
Sat, Jul 4, 5:39 PM
Unknown Object (File)
Wed, Jul 1, 1:43 PM
Unknown Object (File)
Sun, Jun 21, 11:50 PM
Unknown Object (File)
Sat, Jun 20, 2:00 AM
Unknown Object (File)
Jun 14 2026, 7:29 PM
Unknown Object (File)
May 23 2026, 7:08 PM
Unknown Object (File)
May 14 2026, 5:44 PM
Unknown Object (File)
Apr 16 2026, 6:20 PM
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.