Page MenuHomeFreeBSD

Make vm_page_array setting dynamic in the PMAP_HAS_PAGE_ARRAY case
AbandonedPublic

Authored by jhibbits on Aug 26 2019, 2:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 7:37 AM
Unknown Object (File)
Nov 10 2023, 12:02 PM
Unknown Object (File)
Oct 11 2023, 1:22 AM
Unknown Object (File)
Oct 9 2023, 10:59 AM
Unknown Object (File)
Sep 13 2023, 11:36 PM
Unknown Object (File)
Jun 15 2023, 7:18 PM
Unknown Object (File)
Jun 3 2023, 8:02 AM
Unknown Object (File)
Jan 8 2023, 2:19 AM
Subscribers
None

Details

Reviewers
jeff
kib
markj
Summary

Some platforms may want to dynamically allocate the mapping address for
vm_page_array, while controlling the mapping.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26102
Build 24631: arc lint + arc unit

Event Timeline

This is fine in principle but I do not see why cannot you reset the value of vm_page_array.

Also, I would suggest use some macro for vm_page_array initial value and conditionalize the initialization on that macro. Or even, all arches might define it, to zero unless some other value is needed.

You're right, I don't know what I was thinking. The page_range change is the only thing needed from this diff.