STRUCT RDT_HW_L3_MON_DOMAIN(9)
πΈ NAME πΈ
okay so bestie, welcome to the Kernel API Manual page for struct rdt_hw_l3_mon_domain(9) β literally the arch-private attributes of a set of CPUs that share RDT_RESOURCE_L3 monitoring. that's the whole vibe. it's the little secret attic where the architecture keeps its own stuff π
β¨ SYNOPSIS β¨
like, here's the shape of it, no cap:
struct rdt_hw_l3_mon_domain {
struct rdt_l3_mon_domain d_resctrl;
struct arch_mbm_state *arch_mbm_states[QOS_NUM_L3_MBM_EVENTS];
};
that's it. that's the struct. she's compact, she's iconic π
π¦ Members π¦
d_resctrlβ the properties that get exposed to the resctrl file system. this is the extroverted member, the one who actually talks to people π«Άarch_mbm_statesβ a per-event pointer to the MBM event's saved state. and what's an MBM event's state, you ask? it's an array ofstruct arch_mbm_stateindexed by RMID on x86. yes, array-in-a-pointer, indexed by RMID, on x86 specifically. iykyk π
π Description π
the members of this structure are accessed via helpers that provide abstraction. that's the whole description, bestie β she's a private-attributes girlie and she's not here to be touched directly. use the helpers, respect the abstraction layer, periodt β¨
fr fr do not just go grabbing at these members raw. there are helpers for exactly this. that's the point the page is making, and we listen π
π SEE ALSO π
go read these next, they're all linked in the kernel file ./arch/x86/kernel/cpu/resctrl/internal.h:
struct arch_mbm_state(9)struct rdt_hw_ctrl_domain(9)struct rdt_perf_pkg_mon_domain(9)struct msr_param(9)struct rdt_hw_resource(9)
a whole friend group, honestly. study them together π
and that's the page!! π snagged from ./arch/x86/kernel/cpu/resctrl, dated October 2026, and yes it's still struct rdt_hw_l3_mon_domain(9) at the bottom β she signs her name every time π§ββοΈπ
π¦ 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