STRUCT SCHED_MM_CID(9)
π struct sched_mm_cid β like, the storage unit for per-task MM CID data, bestie π
okay so real talk: this is from the Kernel API Manual (that's the manual name, iykyk), and it's genuinely not scary. It's just a little struct that holds MM CID stuff per task. Sit with me, we're gonna get through it together π«Ά
β¨ NAME β¨
struct sched_mm_cid β literally just storage for per task MM CID data. That's the whole vibe. That's the assignment π
πΈ SYNOPSIS πΈ
struct sched_mm_cid {
unsigned int active;
unsigned int cid;
struct hlist_node node;
};
no cap, that's the entire thing. three members. we love a compact icon π
π Members π
activeβ means the MM CID is active for the task β¨ like yes bestie the CID is live and doing its thing right now.cidβ the actual CID tied to the task, and here's the tea: it's either permanently assigned or borrowed from the CPU. Two whole situations, one field. versatile queen π¦nodeβ this one's queued in the per MM MMCID list. It's in the group chat. It's on the list. It's booked and busy ππ
π SEE ALSO π
the friend group π go look at:
Kernel file ./include/linux/rseq_types.hstruct rseq_event(9)struct rseq_ids(9)union rseq_slice_state(9)struct rseq_slice(9)struct rseq_data(9)struct mm_cid_pcpu(9)struct mm_mm_cid(9)
they all live in the same β¨./include/linuxβ¨ directory together, it's giving found family π§
fr fr, that's the whole page β no hidden flags, no gotchas, no chaos. just a struct being iconic π
okay bye bestie!! this page ate and left no crumbs π this one's dated October 2026 and comes straight out of ./include/linux β the source/version and date of the page itself, 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