Page MenuHomeFreeBSD

Use PVO_PADDR to get the PA from PVO
ClosedPublic

Authored by luporl on Jul 13 2020, 8:03 PM.
Referenced Files
F134911113: D25654.id74416.diff
Wed, Nov 5, 4:08 AM
Unknown Object (File)
Sun, Nov 2, 3:27 PM
Unknown Object (File)
Fri, Oct 31, 6:27 PM
Unknown Object (File)
Fri, Oct 31, 5:01 AM
Unknown Object (File)
Wed, Oct 29, 12:00 AM
Unknown Object (File)
Tue, Oct 28, 5:45 AM
Unknown Object (File)
Sun, Oct 26, 5:52 AM
Unknown Object (File)
Sat, Oct 25, 7:31 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