Page MenuHomeFreeBSD

Use PVO_PADDR to get the PA from PVO
ClosedPublic

Authored by luporl on Jul 13 2020, 8:03 PM.
Referenced Files
F157691501: D25654.id74416.diff
Sun, May 24, 3:30 AM
F157691455: D25654.id74416.diff
Sun, May 24, 3:30 AM
Unknown Object (File)
Tue, May 19, 10:52 AM
Unknown Object (File)
Mon, May 18, 6:54 AM
Unknown Object (File)
Thu, Apr 30, 2:08 AM
Unknown Object (File)
Thu, Apr 30, 2:07 AM
Unknown Object (File)
Wed, Apr 29, 2:07 AM
Unknown Object (File)
Mon, Apr 27, 4:22 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32300
Build 29784: arc lint + arc unit