Skip to main content

Module numa

Module numa 

Source
Expand description

NUMA-aware helpers with Linux fast paths and portable fallbacks.

Functionsยง

alloc_on_node
Allocate initialized values and, on Linux, migrate the backing pages toward a NUMA node.
current_node
Return the current NUMA node for the calling thread when the platform can determine it.
node_count
Return the number of NUMA nodes visible to the current process.
pin_to_node
Pin the calling thread to a NUMA node when supported.