Skip to content

KFunc scx_bpf_nr_cids

v7.2

Return the size of the cid space.

Definition

Equals num_possible_cpus. All valid cids are in [0, return value).

Returns

Return the size of the cid space.

Signature

u32 scx_bpf_nr_cids()

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