Page MenuHomeFreeBSD

LinuxKPI: cleanup internal calls to VM_PAGE_TO_PHYS
ClosedPublic

Authored by bz on Jul 31 2023, 8:58 PM.
Tags
None
Referenced Files
F132057924: D41256.id125644.diff
Mon, Oct 13, 7:11 AM
F132049029: D41256.id125394.diff
Mon, Oct 13, 5:42 AM
F132049028: D41256.id125644.diff
Mon, Oct 13, 5:42 AM
F132049025: D41256.id.diff
Mon, Oct 13, 5:42 AM
Unknown Object (File)
Sun, Oct 12, 5:46 PM
Unknown Object (File)
Sun, Sep 21, 9:21 PM
Unknown Object (File)
Sep 5 2025, 10:47 AM
Unknown Object (File)
Aug 12 2025, 8:51 PM

Details

Summary

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
MFC after: 2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Jul 31 2023, 8:58 PM
markj added inline comments.
sys/compat/linuxkpi/common/include/linux/highmem.h
58

Presumably this will change to kmap(struct page *page) at some point?

This revision is now accepted and ready to land.Aug 1 2023, 2:14 PM