Data Structures | |
| struct | zxfoundation::memory::numa::allocation_policy |
| Placement policy supplied to PMM, VM, or DGP memory-contract operations. More... | |
| struct | zxfoundation::memory::numa::node_topology |
| NUMA node topology and allocator watermarks. More... | |
| struct | zxfoundation::memory::numa::placement_result |
| Result of resolving a placement policy against topology state. More... | |
| struct | zxfoundation::memory::numa::slit_matrix |
| System Locality Information Table — distance matrix for NUMA nodes. More... | |
Enumerations | |
| enum class | zxfoundation::memory::numa::fallback_mode : u8 { local_first = 0 , strict_local = 1 , interleave = 2 , emergency_any = 3 } |
| Allocation fallback behavior requested by a caller. | |
| enum class | zxfoundation::memory::numa::node_state : u8 { offline = 0 , online = 1 , degraded = 2 , draining = 3 } |
| Lifecycle state of a NUMA node record. | |
| enum class | zxfoundation::memory::numa::topology_source : u8 { none = 0 , zxfl_memory_map = 1 , zxfl_cpu_map = 2 , synthetic_single_node = 3 } |
| Origin of the evidence used to create or update a node record. | |
Functions | |
| constexpr auto | zxfoundation::memory::numa::node_id_is_valid (u8 node_id) noexcept -> bool |
| Test whether a byte value can address the fixed NUMA node table. | |
| constexpr auto | zxfoundation::memory::numa::node_state_is_allocatable (node_state state) noexcept -> bool |
| Test whether a topology state may satisfy memory placement. | |
Variables | |
| bool | allow_remote {true} |
| u32 | cpu_count {0U} |
| u8 | distances [MAX_NUMA_NODES][MAX_NUMA_NODES] {} |
| u8 | drawer_id {NUMA_DRAWER_UNKNOWN} |
| fallback_mode | fallback {fallback_mode::local_first} |
| u8 | fallback_distance {0U} |
| u64 | free_pages {0ULL} |
| u64 | high_watermark_pages {0ULL} |
| u64 | low_watermark_pages {0ULL} |
| constexpr u8 | zxfoundation::memory::numa::MAX_NUMA_NODES = 16U |
| Maximum number of NUMA nodes recorded by the initial kernel topology table. | |
| u8 | node_id {NUMA_NODE_BOOT} |
| constexpr u8 | zxfoundation::memory::numa::NUMA_DRAWER_UNKNOWN = 0xFFU |
| Drawer identifier used when ZXFL could not provide drawer evidence. | |
| constexpr u8 | zxfoundation::memory::numa::NUMA_NODE_ANY = 0xFFU |
| Wildcard NUMA node selector used by allocation policy requests. | |
| constexpr u8 | zxfoundation::memory::numa::NUMA_NODE_BOOT = 0U |
| Deterministic bootstrap fallback node. | |
| u64 | phys_end {0ULL} |
| u64 | phys_start {0ULL} |
| u8 | preferred_node {NUMA_NODE_ANY} |
| bool | remote {false} |
| bool | require_dma31 {false} |
| u32 | reserved {0U} |
| u8 | selected_node {NUMA_NODE_BOOT} |
| topology_source | source {topology_source::none} |
| node_state | state {node_state::offline} |
| bool | strict_violation {false} |
Files | |
| file | zxfoundation/memory/numa.zcomponent/types.cxxm |
| NUMA topology and allocation policy types. | |