STRUCT RDT_L3_MON_DOMAIN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct rdt_l3_mon_domain(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes, that's the vibe, we're in the kernel docs today and honestly? it's giving main character energy. this page is all about struct rdt_l3_mon_domain, and no cap, it's kind of iconic once you get it.


🌸 NAME 🌸

struct rdt_l3_mon_domain β€” literally just a group of CPUs that share RDT_RESOURCE_L3 monitoring πŸŽ€ that's it, that's the whole thing, and it's lowkey important, iykyk.


✨ SYNOPSIS ✨

here's the actual shape of it, copied exactly because we do not mess with the code, periodt:

struct rdt_l3_mon_domain {
    struct rdt_domain_hdr           hdr;
    unsigned int                    ci_id;
    unsigned long                   *rmid_busy_llc;
    struct mbm_state                *mbm_states[QOS_NUM_L3_MBM_EVENTS];
    struct delayed_work             mbm_over;
    struct delayed_work             cqm_limbo;
    int mbm_work_cpu;
    int cqm_work_cpu;
    struct mbm_cntr_cfg             *cntr_cfg;
 };

πŸ¦‹ Members πŸ¦‹

okay bestie, member-by-member tour, let's go πŸ’…

  • hdr β€” the common header for different domain types. it's the shared little crown every domain type wears πŸ‘‘
  • ci_id β€” the cache info id for this domain. yes, this domain specifically 🎯
  • rmid_busy_llc β€” bitmap of which limbo RMIDs are above threshold. a whole bitmap, bestie, tracking the limbo RMIDs that overshot πŸ”₯
  • mbm_states β€” per-event pointer to the MBM event's saved state. and here's the tea: an MBM event's state is an array of struct mbm_state indexed by RMID on x86, or by combined CLOSID, RMID on Arm. different architectures, different indexing, same slay 🌈
  • mbm_over β€” the worker that periodically reads MBM h/w counters. it's on a schedule, it's diligent, it's that girl ⏰
  • cqm_limbo β€” the worker that periodically reads CQM h/w counters. same energy, different counters πŸ’«
  • mbm_work_cpu β€” the worker CPU for MBM h/w counters. somebody's gotta do it 🫢
  • cqm_work_cpu β€” the worker CPU for CQM h/w counters. and this someone too πŸ’œ
  • cntr_cfg β€” array of assignable counters' configuration, indexed by counter ID. array, indexed, configured, done ✨

πŸ’€ SEE ALSO πŸ’€

okay so this list is long and we are not skipping a single one, because every reference matters bestie πŸ’– the kernel file is ./include/linux/resctrl.h and the whole squad is:

like, a whole friend group fr fr 🫢


and that's the page!! mwah πŸ’‹ it lives over in ./include/linux and it's dated October 2026 β€” so go read it when the calendar catches up, bestie. bye bye, stan resctrl, drink water, and remember: the vibe changes, the facts do not πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from