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
F146422128: D42288.id129660.diff
Mon, Mar 2, 1:58 PM
F146353295: D42288.id129660.diff
Mon, Mar 2, 12:23 AM
Unknown Object (File)
Sun, Mar 1, 9:22 AM
Unknown Object (File)
Sun, Mar 1, 6:57 AM
Unknown Object (File)
Fri, Feb 27, 8:45 AM
Unknown Object (File)
Wed, Feb 18, 7:46 AM
Unknown Object (File)
Mon, Feb 16, 11:53 AM
Unknown Object (File)
Mon, Feb 16, 11:52 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 54080
Build 50970: arc lint + arc unit