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)
Sat, Sep 28, 10:28 PM
Unknown Object (File)
Tue, Sep 24, 3:05 AM
Unknown Object (File)
Sun, Sep 22, 9:58 PM
Unknown Object (File)
Sun, Sep 8, 4:46 PM
Unknown Object (File)
Sat, Sep 7, 2:01 AM
Unknown Object (File)
Sun, Sep 1, 10:38 PM
Unknown Object (File)
Aug 30 2024, 7:49 PM
Unknown Object (File)
Aug 30 2024, 8:34 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