HomeFreeBSD

Fix calculating l0index in _pmap_alloc_l3 on arm64

Description

Fix calculating l0index in _pmap_alloc_l3 on arm64

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.

Reviewed by: alc, markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34517

Details

Provenance
andrewAuthored on Mar 10 2022, 2:40 PM
Reviewer
alc
Differential Revision
D34517: Fix calculating l0index in _pmap_alloc_l3 on arm64
Parents
rG0977ebb07152: stress2: A unmount of a unionfs file system may return EBUSY.
Branches
Unknown
Tags
Unknown