Page MenuHomeFreeBSD

riscv: Maintain the allpmaps list only in SV39 mode
ClosedPublic

Authored by markj on Feb 14 2022, 10:30 PM.
Tags
None
Referenced Files
F171012131: D34277.id102763.diff
Tue, Sep 8, 4:37 AM
Unknown Object (File)
Sun, Sep 6, 12:16 PM
Unknown Object (File)
Sun, Sep 6, 1:20 AM
Unknown Object (File)
Sat, Sep 5, 11:36 AM
Unknown Object (File)
Sat, Sep 5, 9:06 AM
Unknown Object (File)
Sat, Sep 5, 5:41 AM
Unknown Object (File)
Fri, Sep 4, 11:10 PM
Unknown Object (File)
Fri, Sep 4, 6:45 AM
Subscribers

Details

Summary

When four-level page tables are used, there is no need to distribute
updates to the top-level page to all pmaps.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44500
Build 41388: arc lint + arc unit

Event Timeline

jhb added inline comments.
sys/riscv/riscv/pmap.c
1289

Maybe just leave this outside of the if-else?

sys/riscv/riscv/pmap.c
1289

It looks slightly odd since I haven't rebased on D34267. Once that's done the redundancy will be gone.

This revision is now accepted and ready to land.Feb 15 2022, 5:40 PM

Copy only a single L0 entry in pmap_pinit().

This revision now requires review to proceed.Feb 18 2022, 2:26 PM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 1 2022, 2:40 PM
This revision was automatically updated to reflect the committed changes.