Page MenuHomeFreeBSD

Merge the md_page structs for AIM and Book-E into a single unioned struct
ClosedPublic

Authored by jhibbits on Jul 11 2018, 10:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 23, 5:32 AM
Unknown Object (File)
Dec 20 2023, 1:56 AM
Unknown Object (File)
Nov 19 2023, 5:40 AM
Unknown Object (File)
Nov 11 2023, 10:09 PM
Unknown Object (File)
Nov 9 2023, 10:08 PM
Unknown Object (File)
Nov 4 2023, 8:32 AM
Unknown Object (File)
Oct 11 2023, 4:52 AM
Unknown Object (File)
Oct 6 2023, 9:03 PM
Subscribers

Details

Summary

Ports like sysutils/lsof troll through kernel structures, and
therefore include kernel headers and all the dirty secrets involved. struct
vm_page includes the struct md_page inline, which currently is only defined
if AIM or BOOKE is defined. Thus, by default, sysutils/lsof cannot build,
due to the struct md_page having an incomplete type. Fix this by merging
the two struct definitions into an anonymous struct-union.

Compile-tested only.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable