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)
Tue, Apr 7, 12:56 AM
Unknown Object (File)
Sun, Apr 5, 6:25 AM
Unknown Object (File)
Tue, Mar 17, 1:31 PM
Unknown Object (File)
Tue, Mar 17, 1:22 PM
Unknown Object (File)
Wed, Mar 11, 2:47 PM
Unknown Object (File)
Wed, Mar 11, 5:07 AM
Unknown Object (File)
Mar 7 2026, 7:21 PM
Unknown Object (File)
Mar 5 2026, 7:13 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 61705
Build 58589: arc lint + arc unit