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 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)
Wed, Sep 24, 5:40 AM
Unknown Object (File)
Wed, Sep 24, 2:15 AM
Unknown Object (File)
Sep 19 2025, 11:41 PM
Unknown Object (File)
Sep 17 2025, 12:05 AM
Unknown Object (File)
Sep 15 2025, 9:05 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable