Page MenuHomeFreeBSD

riscv: Port improvements from arm64/amd64 pmaps, part 1
ClosedPublic

Authored by markj on Oct 19 2023, 1:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 4:29 PM
Unknown Object (File)
Tue, Apr 28, 7:37 AM
Unknown Object (File)
Apr 27 2026, 2:57 PM
Unknown Object (File)
Apr 27 2026, 9:49 AM
Unknown Object (File)
Apr 22 2026, 11:08 AM
Unknown Object (File)
Apr 22 2026, 11:03 AM
Unknown Object (File)
Apr 18 2026, 8:24 PM
Unknown Object (File)
Apr 17 2026, 9:36 AM
Subscribers

Details

Summary
  • When promoting, do not require that all PTEs all have PTE_A set. Instead, record whether they did and store this information in the PTP's valid bits.
  • Synchronize some comments in pmap_promote_l2().
  • Make pmap_promote_l2() scan starting from the end of the 2MB range instead of the beginning. See the commit log for 9d1b7fa31f510 for justification of this, which I believe applies here as well.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable