Page MenuHomeFreeBSD

Use PVO_PADDR to get the PA from PVO
ClosedPublic

Authored by luporl on Jul 13 2020, 8:03 PM.
Referenced Files
F133764992: D25654.id74416.diff
Tue, Oct 28, 5:45 AM
Unknown Object (File)
Sun, Oct 26, 5:52 AM
Unknown Object (File)
Sat, Oct 25, 7:31 PM
Unknown Object (File)
Sat, Oct 18, 2:41 PM
Unknown Object (File)
Thu, Oct 16, 10:15 PM
Unknown Object (File)
Thu, Oct 16, 10:15 PM
Unknown Object (File)
Thu, Oct 16, 10:15 PM
Unknown Object (File)
Thu, Oct 16, 1:30 PM

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