Page MenuHomeFreeBSD

Use PVO_PADDR to get the PA from PVO
ClosedPublic

Authored by luporl on Jul 13 2020, 8:03 PM.
Referenced Files
Unknown Object (File)
Wed, Dec 24, 1:34 AM
Unknown Object (File)
Sun, Dec 21, 2:29 AM
Unknown Object (File)
Nov 25 2025, 5:32 AM
Unknown Object (File)
Nov 24 2025, 3:20 AM
Unknown Object (File)
Nov 21 2025, 6:48 AM
Unknown Object (File)
Nov 21 2025, 1:47 AM
Unknown Object (File)
Nov 21 2025, 1:44 AM
Unknown Object (File)
Nov 21 2025, 1:44 AM

Details

Summary

Use PVO_PADDR macro to get the physical address from a PVO, instead of explicitly ANDing pvo_pte.pa with LPTE_RPGN where it is needed.
Besides improving readability, this is needed to support superpages (D25237), where the steps to get the PA from a PVO are different.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable