Page MenuHomeFreeBSD

Fix calculating l0index in _pmap_alloc_l3 on arm64
ClosedPublic

Authored by andrew on Mar 10 2022, 3:22 PM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.