Page MenuHomeFreeBSD

Centralize and simpify implemention of some VM macros
ClosedPublic

Authored by jhb on Jan 13 2025, 7:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 23 2025, 3:10 PM
Unknown Object (File)
Nov 1 2025, 5:44 AM
Unknown Object (File)
Oct 31 2025, 4:40 AM
Unknown Object (File)
Oct 26 2025, 9:43 AM
Unknown Object (File)
Oct 26 2025, 9:42 AM
Unknown Object (File)
Oct 26 2025, 9:42 AM
Unknown Object (File)
Oct 26 2025, 9:42 AM
Unknown Object (File)
Oct 23 2025, 10:27 PM

Details

Summary

These macros have substantially identical implementations on each
platform. Use roundup2/rounddown2 for round_page/trunc_page.

This version standardizes on not adding an explicit cast as that
appears to be required on at least one powerpc port. A couple of
tweaks were required to make this work.

Obtained from: CheriBSD

Diff Detail

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