Skip to content

KFunc scx_bpf_cpu_node

v6.15

Definition

Parameters

cpu: target CPU

Returns

The NUMA node the given cpu belongs to, or trigger an error if cpu is invalid

Signature

int scx_bpf_cpu_node(s32 cpu)

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

The following program types can make use of this kfunc:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome