scx_cmask_fill(9)
π scx_cmask_fill β from the Kernel API Manual (section 9, kernel space only, no userland shenanigans) π
okay bestie, sit down, hydrate, and let's talk about scx_cmask_fill β¨ this one's a little cutie from the scx_cmask family and honestly she's giving "just do one thing and do it well" energy π
πΈ NAME πΈ
scx_cmask_fill β sets every single bit in @m's active range π«Ά
Like, all of them. The whole active range. Filled. Done. Slay.
β¨ SYNOPSIS β¨
void scx_cmask_fill (struct scx_cmask *m );
no return value, no drama, she just does the thing π
π¦ ARGUMENTS π¦
mβ the cmask to fill π (yes that's the whole argument list, she's low maintenance)
π DESCRIPTION π
So here's the vibe: scx_cmask_fill is the literal counterpart to scx_cmask_clear π one of them turns the bits on, one of them turns the bits off, and they're besties about it.
She sets every bit in @m's active range β and that's it. Anything stored past the active range? Not her business, not her problem, she leaves it as is π no cap, she will not touch it.
fr fr: "leaves storage past the active range as is" is not a bug, it's the spec. Don't come for her π
π§ SEE ALSO π§
the whole friend group π go say hi:
- the kernel file
./kernel/sched/ext/cid.cπ scx_cid_publish_tables(9)scx_cid_retire_tables(9)scx_cid_init(9)scx_cmask_clear(9)β the counterpart bestie, the one she's literally defined against π₯Ήscx_bpf_cid_override(9)scx_bpf_cid_to_cpu(9)scx_bpf_cpu_to_cid(9)scx_cmask_subset(9)scx_cmask_empty(9)scx_bpf_cid_topo(9)scx_cmask_ref_init(9)scx_cmask_ref_init_kern(9)scx_cmask_ref_shard(9)scx_cmask_ref_or(9)scx_cmask_ref_copy(9)scx_cmask_ref_from_cpumask(9)
that's the whole page, bestie, you ate that π this icon lives in ./kernel/sched/ext and the version stamp says October 2026 β manual section 9, kernel API manual, main character energy only π
β¨
periodt. π¦
π¦ 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