Page MenuHomeFreeBSD

Use PVO_PADDR to get the PA from PVO
ClosedPublic

Authored by luporl on Jul 13 2020, 8:03 PM.
Referenced Files
F112706122: D25654.id74416.diff
Fri, Mar 21, 5:22 PM
Unknown Object (File)
Sun, Mar 9, 10:43 PM
Unknown Object (File)
Mon, Feb 24, 3:58 PM
Unknown Object (File)
Sat, Feb 22, 11:15 AM
Unknown Object (File)
Fri, Feb 21, 11:10 PM
Unknown Object (File)
Fri, Feb 21, 8:10 PM
Unknown Object (File)
Jan 30 2025, 10:08 AM
Unknown Object (File)
Jan 22 2025, 8:18 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