Page MenuHomeFreeBSD

arm64: fix L1 pindex calculation in pmap_growkernel()
ClosedPublic

Authored by mhorne on Aug 29 2024, 3:33 PM.
Tags
None
Referenced Files
F102987845: D46477.diff
Tue, Nov 19, 12:48 PM
Unknown Object (File)
Fri, Nov 15, 2:00 PM
Unknown Object (File)
Fri, Nov 15, 8:19 AM
Unknown Object (File)
Thu, Oct 31, 6:15 PM
Unknown Object (File)
Mon, Oct 28, 2:54 AM
Unknown Object (File)
Sat, Oct 26, 12:01 PM
Unknown Object (File)
Sat, Oct 26, 12:01 PM
Unknown Object (File)
Sat, Oct 26, 11:41 AM
Subscribers

Details

Summary

Use the pmap_l1_pindex() macro which accounts for the NUL2E offset.
While here, use pmap_l2_pindex() macro further down (no change).

Prompted by pull request and commit 2e33abc35460, making the change for
the riscv pmap.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59230
Build 56117: arc lint + arc unit