Page MenuHomeFreeBSD

arm64: add page-to-pte convenience macros
ClosedPublic

Authored by dougm on Apr 9 2024, 6:10 PM.
Tags
None
Referenced Files
F131704415: D44699.id138389.diff
Fri, Oct 10, 12:06 PM
F131650740: D44699.id136788.diff
Fri, Oct 10, 1:27 AM
Unknown Object (File)
Wed, Oct 8, 8:43 AM
Unknown Object (File)
Thu, Sep 18, 9:29 AM
Unknown Object (File)
Sat, Sep 13, 8:40 AM
Unknown Object (File)
Fri, Sep 12, 8:42 PM
Unknown Object (File)
Aug 13 2025, 1:48 PM
Unknown Object (File)
Aug 3 2025, 6:40 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.