Page MenuHomeFreeBSD

LinuxKPI: prefer struct page [*] over struct vm_page[_t]
ClosedPublic

Authored by bz on Jul 17 2026, 1:01 PM.
Tags
None
Referenced Files
F169843028: D58297.diff
Wed, Sep 2, 5:50 PM
Unknown Object (File)
Wed, Sep 2, 4:25 PM
Unknown Object (File)
Wed, Sep 2, 3:48 PM
Unknown Object (File)
Wed, Sep 2, 12:41 PM
Unknown Object (File)
Mon, Aug 31, 10:39 AM
Unknown Object (File)
Mon, Aug 31, 7:44 AM
Unknown Object (File)
Mon, Aug 31, 7:30 AM
Unknown Object (File)
Sat, Aug 29, 1:45 PM
Subscribers

Details

Summary

LinuxKPI is based on Linux 'struct page' which is currently aliased
to struct vm_page. Upcoming changes may change that so start using
'struct page *' instead vm_page_t to make future changes transparent.

This is a continuation of 9e9c682ff3a1 and should be a NOP.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 74871
Build 71754: arc lint + arc unit

Event Timeline

bz requested review of this revision.Jul 17 2026, 1:01 PM

This will go in by Friday.

This revision was not accepted when it landed; it landed in state Needs Review.Jul 24 2026, 7:35 PM
This revision was automatically updated to reflect the committed changes.