STRUCT SCHED_MM_CID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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.h
  • struct 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