Reverse-map (rmap) types — physical frame → list of referring VMA slots. Used by CoW partner invalidation and unified reclaim to walk peer mappings of a shared physical page. More...
Data Structures | |
| struct | zxfoundation::memory::rmap::entry |
| One reverse-map entry: identifies a single VMA slot that maps a given physical frame. More... | |
| struct | zxfoundation::memory::rmap::peer_invalidation_result |
| Effects of invalidating every peer of one reverse-mapped frame. More... | |
| struct | zxfoundation::memory::rmap::peer_ref |
| Mutable record of one rmap entry observed during a walk. More... | |
Typedefs | |
| using | zxfoundation::memory::rmap::visitor |
| Visitor signature for rmap_for_each_phys. | |
Reverse-map (rmap) types — physical frame → list of referring VMA slots. Used by CoW partner invalidation and unified reclaim to walk peer mappings of a shared physical page.
SPDX-License-Identifier: Apache-2.0
|
export |
Visitor signature for rmap_for_each_phys.
| [in] | rgn | The VMA owning the referring slot. |
| [in] | phys | The physical frame being walked. |
| [in] | slot_va | The virtual address of the slot (page-aligned). |
| [in] | slot_index | Index of the slot inside rgn.pages.slots[]. Lets the consumer directly index the slot without re-walking the page map by va. |