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)
Sun, Jul 5, 10:04 AM
Unknown Object (File)
May 20 2026, 10:50 PM
Unknown Object (File)
May 15 2026, 8:59 PM
Unknown Object (File)
Apr 29 2026, 9:35 PM
Unknown Object (File)
Apr 29 2026, 10:50 AM
Unknown Object (File)
Apr 28 2026, 11:28 PM
Unknown Object (File)
Apr 25 2026, 8:40 PM
Unknown Object (File)
Apr 10 2026, 3:55 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