cmask_init(9)
πΈ NAME πΈ
okay so this is cmask_init(9), straight out of the Kernel API Manual β and bestie, it's literally here to initialize @m on tight storage. That's the whole gig. π
β¨ SYNOPSIS β¨
void cmask_init (struct scx_cmask __arena *m , u32 base , u32 nr_cids );
π ARGUMENTS π
mβ the cmask you're initializing, bestie. That's the one.baseβ the first cid of the active range. First one in, no cap.nr_cidsβ how many cids are in the active range. The count, periodt.
π¦ DESCRIPTION π¦
All of bits[] is zeroed.
That's it. That's the description. The entire bits[] situation gets zeroed out, iconic behavior honestly. β¨
π SEE ALSO π
- Kernel file
./tools/sched_ext/include/scx/cid.bpf.h:__cmask_init(9),cmask_reframe(9),cmask_next_set(9),cmask_from_cpumask(9)
π that's the whole page, bestie β sourced from ./tools/sched_ext/include/scx, dated October 2026. stay slay, and may your masks be zeroed. π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms