ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation.memory.numa.core Module Reference

Functions

auto zxfoundation::memory::numa::cpu_distance (u16 cpu_a, u16 cpu_b) noexcept -> u8
 Return the distance between two logical CPUs by way of their assigned NUMA nodes.
auto zxfoundation::memory::numa::generation () noexcept -> u64
 Return the current topology generation.
auto zxfoundation::memory::numa::has_loader_memory_evidence () noexcept -> bool
 Report whether topology contains loader-provided memory evidence.
auto zxfoundation::memory::numa::init (const arch::s390x::init::zxfl::protocol &protocol) noexcept -> std::expected< void, lib::kernel_error >
 Initialize immutable NUMA topology from the ZXFL boot protocol.
auto zxfoundation::memory::numa::initialized () noexcept -> bool
 Report whether NUMA topology has been initialized.
auto zxfoundation::memory::numa::node_at (u8 node_id) noexcept -> std::expected< const node_topology *, lib::kernel_error >
 Read one NUMA node record.
auto zxfoundation::memory::numa::node_count () noexcept -> u8
 Count NUMA node records known to the topology table.
auto zxfoundation::memory::numa::node_distance (u8 node_a, u8 node_b) noexcept -> u8
 Read NUMA distance between two nodes (units: 10 local … 255 max).
auto zxfoundation::memory::numa::node_for_cpu (u16 cpu_id) noexcept -> std::expected< u8, lib::kernel_error >
 Resolve a logical CPU to its preferred NUMA node.
auto zxfoundation::memory::numa::node_for_pfn (u64 pfn) noexcept -> std::expected< u8, lib::kernel_error >
 Resolve a page-frame number to a NUMA node.
auto zxfoundation::memory::numa::node_for_phys (u64 phys) noexcept -> std::expected< u8, lib::kernel_error >
 Resolve a physical address to a NUMA node.
auto zxfoundation::memory::numa::node_of_cpu (u16 cpu_id) noexcept -> u8
 Return the NUMA node id assigned to a logical CPU.
auto zxfoundation::memory::numa::resolve_policy (const allocation_policy &policy, u8 local_node) noexcept -> std::expected< placement_result, lib::kernel_error >
 Resolve an allocation policy into an initial placement decision.
auto zxfoundation::memory::numa::slit_install (const slit_matrix &matrix, bool stsi_ok) noexcept -> void
 Install a fully-resolved SLIT matrix from an outside evidence.
auto zxfoundation::memory::numa::slit_load_synthetic () noexcept -> void
 Sealed-synthetic fallback installer.
auto zxfoundation::memory::numa::slit_source_kind () noexcept -> u32
 Diagnostics: report the SLIT table source.
auto zxfoundation::memory::numa::uses_synthetic_fallback () noexcept -> bool
 Report whether the current topology had to synthesize the boot node.

Files

file  zxfoundation/memory/numa.zcomponent/core.cxxm
 NUMA topology initialization and deterministic placement helpers — core interface.
file  zxfoundation/memory/numa.zcomponent/core.cxx
 NUMA topology initialization and deterministic placement helpers — implementation.