scx_cmask_reframe(9)
π scx_cmask_reframe(9) π
okay bestie, welcome to the Kernel API Manual entry for this one β itβs giving βreshape the active range, but make it not resize storage.β β¨
π¦ NAME π¦
scx_cmask_reframe β reshape @mβs active range without resizing storage. no cap, thatβs the whole vibe.
πΈ SYNOPSIS πΈ
void scx_cmask_reframe (struct scx_cmask *m , u32 base , u32 nr_cids );
π ARGUMENTS π
mβ the cmask to reframe. main character cmask, literally.baseβ the new active range base. set the starting point, bestie.nr_cidsβ the new active range length; it must fit withinm->alloc_words. like, non-negotiable. π
π₯ DESCRIPTION π₯
okay so hereβs the tea: body bits within the new range become garbage. π Thatβs real. Only the head and tail words are zeroed, and thatβs specifically to keep the padding invariant. So donβt expect a full clean sweep β just those two edges, periodt. β¨
π SEE ALSO π
Kernel file ./kernel/sched/ext/cid.h plus these iconique friends:
cid_valid(9)__scx_cid_to_cpu(9)__scx_cpu_to_cid(9)scx_cid_to_cpu(9)scx_cpu_to_cid(9)scx_is_cid_type(9)__scx_cmask_init(9)scx_cmask_init(9)scx_cmask_test(9)scx_cmask_for_each_cid(9)
source/version: ./kernel/sched/ext β’ date: October 2026 β okay bye bestie, mwah ππ«Ά
π¦ 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