STRUCT ARCH_MBM_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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 by rdt_group.mon_scale to get bytes. that's the conversion, iykyk. πŸ’–
  • prev_msr β€” the value of IA32_QM_CTR last 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