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)
Wed, Oct 15, 10:18 PM
Unknown Object (File)
Wed, Oct 15, 10:18 PM
Unknown Object (File)
Wed, Oct 15, 11:53 AM
Unknown Object (File)
Sat, Sep 27, 2:52 AM
Unknown Object (File)
Sep 11 2025, 1:26 AM
Unknown Object (File)
Jul 5 2025, 11:38 AM
Unknown Object (File)
Jun 30 2025, 1:19 PM
Unknown Object (File)
Jun 29 2025, 1:08 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