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
Unknown Object (File)
Wed, Sep 23, 8:22 AM
Unknown Object (File)
Sun, Sep 20, 10:02 PM
Unknown Object (File)
Sun, Sep 13, 7:38 PM
Unknown Object (File)
Sat, Sep 12, 7:58 PM
Unknown Object (File)
Sat, Sep 12, 9:17 AM
Unknown Object (File)
Sat, Sep 12, 9:09 AM
Unknown Object (File)
Thu, Sep 10, 9:56 PM
Unknown Object (File)
Tue, Sep 8, 10:02 AM
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.