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)
Dec 7 2024, 9:03 AM
Unknown Object (File)
Nov 25 2024, 3:45 AM
Unknown Object (File)
Nov 24 2024, 3:02 PM
Unknown Object (File)
Nov 24 2024, 1:23 PM
Unknown Object (File)
Nov 22 2024, 1:47 PM
Unknown Object (File)
Nov 16 2024, 9:32 PM
Unknown Object (File)
Nov 14 2024, 6:32 PM
Unknown Object (File)
Nov 14 2024, 6:30 AM
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.