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)
Fri, May 24, 1:00 PM
Unknown Object (File)
Sun, May 19, 6:08 PM
Unknown Object (File)
Wed, May 15, 12:07 AM
Unknown Object (File)
Mon, May 13, 7:37 AM
Unknown Object (File)
Sun, May 12, 7:37 AM
Unknown Object (File)
Sat, May 11, 4:56 PM
Unknown Object (File)
Apr 26 2024, 4:56 AM
Unknown Object (File)
Apr 11 2024, 4:40 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.Sat, May 11, 5:57 AM
This revision was automatically updated to reflect the committed changes.