HomeFreeBSD

LinuxKPI: cleanup internal calls to VM_PAGE_TO_PHYS

Description

LinuxKPI: cleanup internal calls to VM_PAGE_TO_PHYS

Replace FreeBSD native VM_PAGE_TO_PHYS() calls with page_to_phys()
allowing us to work on a struct page in the future using the one
single public Linux KPI interface to map to a native FreeBSD vm_page.

This should be a NOP.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit d1ea07642c47e26effec58f53b7369bf5f797252)

Details

Provenance
bzAuthored on Jul 31 2023, 3:15 AM
Parents
rG9d41057c94bc: LinuxKPI: reduce usage of struct vm_page and vm_page_t
Branches
Unknown
Tags
Unknown