ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation::memory::rmap::peer_ref Struct Referenceexport

Mutable record of one rmap entry observed during a walk. More...

Collaboration diagram for zxfoundation::memory::rmap::peer_ref:
[legend]

Data Fields

vm::vm_regionregion {nullptr}
u32 slot_index {0}
u64 slot_va {0}

Detailed Description

Mutable record of one rmap entry observed during a walk.

Returned by collect_peers under the stripe lock. Carrying the slot_index field lets the caller clear the peer slot from outside the stripe lock, which is required because slot clear re-enters rmap via remove, and re-entering the same stripe lock would deadlock.


The documentation for this struct was generated from the following file: