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, May 1, 4:48 PM
Unknown Object (File)
Tue, Apr 28, 1:47 PM
Unknown Object (File)
Mon, Apr 27, 6:50 PM
Unknown Object (File)
Sat, Apr 11, 5:04 AM
Unknown Object (File)
Mar 29 2026, 4:58 PM
Unknown Object (File)
Mar 29 2026, 12:06 AM
Unknown Object (File)
Mar 3 2026, 6:19 AM
Unknown Object (File)
Mar 3 2026, 4:28 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