Page MenuHomeFreeBSD

arm64: add page-to-pte convenience macros
ClosedPublic

Authored by dougm on Apr 9 2024, 6:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 24, 10:00 PM
Unknown Object (File)
Tue, Mar 18, 5:49 PM
Unknown Object (File)
Mar 4 2025, 2:39 AM
Unknown Object (File)
Feb 22 2025, 2:11 AM
Unknown Object (File)
Feb 21 2025, 7:17 AM
Unknown Object (File)
Feb 19 2025, 3:58 PM
Unknown Object (File)
Jan 24 2025, 11:28 AM
Unknown Object (File)
Jan 23 2025, 9:38 PM
Subscribers

Details

Summary

Define macros to perform pte to vm_page and vm_page to pte conversions without composing two macros, and use the convenience macros wherever possible.

Diff Detail

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

Event Timeline

dougm requested review of this revision.Apr 9 2024, 6:10 PM

Combine two short lines into one.

sys/arm64/arm64/pmap.c
543–544

A better place for these definitions is right before the definition of ATTR_SW_DBM.

Move macro definitions, as suggested.

This revision is now accepted and ready to land.May 11 2024, 5:57 AM
This revision was automatically updated to reflect the committed changes.