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
Unknown Object (File)
Tue, Jul 21, 4:04 AM
Unknown Object (File)
Sat, Jul 4, 11:58 AM
Unknown Object (File)
Fri, Jul 3, 9:06 AM
Unknown Object (File)
Wed, Jul 1, 4:41 AM
Unknown Object (File)
Jun 13 2026, 9:26 PM
Unknown Object (File)
Jun 12 2026, 1:29 PM
Unknown Object (File)
May 25 2026, 9:55 AM
Unknown Object (File)
May 17 2026, 4:06 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