Skip to content

KFunc scx_bpf_nr_cpu_ids

v6.12

This function returns the number of possible CPU IDs

Definition

All valid CPU IDs in the system are smaller than the returned value.

Signature

u32 scx_bpf_nr_cpu_ids()

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