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
F170907198: D58297.id182627.diff
Mon, Sep 7, 12:02 PM
Unknown Object (File)
Sun, Sep 6, 1:01 PM
Unknown Object (File)
Sun, Sep 6, 12:43 PM
Unknown Object (File)
Sun, Sep 6, 10:52 AM
Unknown Object (File)
Sat, Sep 5, 4:21 AM
Unknown Object (File)
Fri, Sep 4, 9:33 PM
Unknown Object (File)
Fri, Sep 4, 1:25 PM
Unknown Object (File)
Thu, Sep 3, 10:09 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 Not Applicable
Unit
Tests Not Applicable

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.