SCX_CMASK_DEFINE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… SCX_CMASK_DEFINE(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ this page is all about a macro that defines an on-stack cmask on tight storage. it’s giving very specific kernel-business, and we’re gonna keep every detail intact 🫢


🌸 NAME 🌸

SCX_CMASK_DEFINE β€” Define an on-stack cmask on tight storage πŸ’–


✨ SYNOPSIS ✨

SCX_CMASK_DEFINE (NAME , BASE , NR_CIDS );

πŸŽ€ ARGUMENTS πŸŽ€

  • NAME β€” the variable name to define, periodt πŸ’…
  • BASE β€” the first cid of the active range 🌈
  • NR_CIDS β€” the active range length, which is also the storage capacity πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: NAME aliases zero-initialized storage with the active range and storage both being [BASE, BASE + NR_CIDS). no cap, that’s the whole vibe check πŸ’–βœ¨


πŸ’œ SEE ALSO πŸ’œ


okay that’s the page, bestie πŸŽ€ source: ./kernel/sched/ext Β· date: October 2026 Β· manual page: SCX_CMASK_DEFINE(9) β€” slay, bye πŸ’…βœ¨

πŸ“¦ where this page comes from