NUMA topology and allocation policy types. More...
import zxfoundation.base.types;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. | |
NUMA topology and allocation policy types.
SPDX-License-Identifier: Apache-2.0
|
nodiscardconstexprexportnoexcept |
Test whether a byte value can address the fixed NUMA node table.
| [in] | node_id | Candidate node identifier. |
|
nodiscardconstexprexportnoexcept |
Test whether a topology state may satisfy memory placement.
| [in] | state | Node lifecycle state. |