scx_cmask_reframe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 within m->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:


source/version: ./kernel/sched/ext β€’ date: October 2026 β€” okay bye bestie, mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from