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
Unknown Object (File)
Fri, Jan 31, 12:11 PM
Unknown Object (File)
Sat, Jan 18, 1:49 AM
Unknown Object (File)
Mon, Jan 13, 12:01 AM
Unknown Object (File)
Sun, Jan 12, 11:57 PM
Unknown Object (File)
Sun, Jan 12, 11:46 PM
Unknown Object (File)
Sun, Jan 12, 11:39 PM
Unknown Object (File)
Sun, Jan 12, 11:31 PM
Unknown Object (File)
Sun, Jan 12, 7:01 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

Maybe just leave this outside of the if-else?

sys/riscv/riscv/pmap.c
1307

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.