Page MenuHomeFreeBSD

Fix calculating l0index in _pmap_alloc_l3 on arm64
ClosedPublic

Authored by andrew on Mar 10 2022, 3:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 24, 12:29 AM
Unknown Object (File)
Fri, Oct 24, 12:29 AM
Unknown Object (File)
Fri, Oct 24, 12:29 AM
Unknown Object (File)
Thu, Oct 23, 3:59 PM
Unknown Object (File)
Fri, Oct 17, 6:06 AM
Unknown Object (File)
Sat, Oct 11, 11:02 AM
Unknown Object (File)
Mon, Sep 29, 7:48 AM
Unknown Object (File)
Sep 24 2025, 5:40 AM
Subscribers

Details

Summary

When moving from the l1 index to l0 index we need to use the l1 shift
value not the l0 shift value. With 4k pages they are identical, however
with 16k pages we only have 2 l0 entries so the shift value is incorrect.

Diff Detail

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