STRUCT RDT_HW_CTRL_DOMAIN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct rdt_hw_ctrl_domain β€” the kernel API manual, bestie edition ✨

okay so real talk, this one lives in the Kernel API Manual, and it's lowkey iconic because it's the arch-private side of a whole CPU resource situation. get comfy πŸŽ€


πŸ¦‹ NAME

struct rdt_hw_ctrl_domain β€” the arch-private attributes of a set of CPUs that share a resource for a control function. no cap, that's the whole vibe ✨


🌸 SYNOPSIS

struct rdt_hw_ctrl_domain {
    struct rdt_ctrl_domain          d_resctrl;
    u32 *ctrl_val;
 };

that's it, that's the struct πŸ’– (yes there's a lil space before that closing }; in the original, we're keeping it exactly as it is, character for character, periodt.)


πŸŽ€ Members

  • d_resctrl β€” the properties that get exposed to the resctrl file system 🫢 this is the part the outside world actually sees.
  • ctrl_val β€” an array of cache or mem ctrl values, indexed by CLOSID πŸ‘‘ iykyk.

πŸ’œ Description

so here's the tea β˜•: the members of this structure aren't meant to be poked at directly, bestie. they're accessed via helpers that provide abstraction. that's the whole point β€” the helpers handle it, you just vibe 😌

literally just use the helpers fr fr.


πŸ™ˆ do not go reaching into these fields raw, the abstraction helpers are literally right there and they're the main character energy of this struct. slay responsibly πŸ’…

🌈 SEE ALSO

  • Kernel file ./arch/x86/kernel/cpu/resctrl/internal.h
  • struct arch_mbm_state(9)
  • struct rdt_hw_l3_mon_domain(9)
  • struct rdt_perf_pkg_mon_domain(9)
  • struct msr_param(9)
  • struct rdt_hw_resource(9)

go read those too, they're all part of the same friend group πŸ¦‹βœ¨


that's the page, bestie πŸ’– this one comes to you from ./arch/x86/kernel/cpu/resctrl, dated October 2026 β€” drink some water, hydrate, and go abstract responsibly πŸ˜­πŸ‘‘πŸ“

πŸ“¦ where this page comes from