STRUCT ARCH_MBM_STATE(9)
π¦ struct arch_mbm_state(9) β bestie edition π¦
okay so this is the manual page for struct arch_mbm_state, and it is literally the little struct that holds values used to compute resctrl_arch_rmid_read()'s return value. no cap, that's the whole assignment. π
β¨ NAME β¨
struct arch_mbm_state β values used to compute resctrl_arch_rmid_read()'s return value. periodt.
β¨ SYNOPSIS β¨
struct arch_mbm_state {
u64 chunks;
u64 prev_msr;
};
π Members π
chunksβ total data moved. bestie, you gotta multiply this byrdt_group.mon_scaleto get bytes. that's the conversion, iykyk. πprev_msrβ the value ofIA32_QM_CTRlast time it was read for the RMID used to find this struct. like, it remembers the last reading. iconic behavior honestly. β¨
πΈ SEE ALSO πΈ
Kernel file ./arch/x86/kernel/cpu/resctrl/internal.h
struct rdt_hw_ctrl_domain(9)struct rdt_hw_l3_mon_domain(9)struct rdt_perf_pkg_mon_domain(9)struct msr_param(9)struct rdt_hw_resource(9)
π«Ά friendly reminder: all the struct names and file paths up there are literal, so copy them exactly if you're hopping around the docs. no improvising, bestie. π
and that's the page!! π this one comes from ./arch/x86/kernel/cpu/resctrl, dated October 2026, and it's serving struct arch_mbm_state(9) energy from start to finish. slay. π
π¦ 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