resctrl_arch_config_cntr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… resctrl_arch_config_cntr β€” kernel API manual, bestie edition ✨

okay so this is a page from the Kernel API Manual and it's all about resctrl_arch_config_cntr(9) β€” one function, and honestly? she's giving "small but mighty." let's get into it πŸŽ€


🌸 NAME 🌸

resctrl_arch_config_cntr β€” configure the counter with its new RMID and event details. that's the whole vibe. no cap. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

void resctrl_arch_config_cntr (struct rdt_resource *r , struct
rdt_l3_mon_domain *d , enum resctrl_event_id evtid , u32 rmid , u32
closid , u32 cntr_id , bool assign );

she takes seven args and returns nothing (void), which is so main character of her actually. πŸ’…


✨ ARGUMENTS ✨

  • r β€” the resource structure. the whole resource. her context, her world. 🫢
  • d β€” the domain in which the counter with ID cntr_id should be configured. like, where this counter is gonna live, you know? πŸ“
  • evtid β€” the monitoring event type (e.g., QOS_L3_MBM_TOTAL_EVENT_ID or QOS_L3_MBM_LOCAL_EVENT_ID). yes those are the exact names, type them exactly, i'm watching πŸ‘€
  • rmid β€” RMID. that's it. that's the description. iconic minimalism honestly. ⭐
  • closid β€” CLOSID. again β€” just the name. we love a low-effort king πŸ’€
  • cntr_id β€” the counter ID to configure. the girl herself πŸ”₯
  • assign β€” true to assign the counter or update an existing assignment, false to unassign the counter. binary queen πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

this can be called from any CPU. that's it. that's the whole section. she's flexible, she's portable, she does not care which CPU you're on 🌈✨


πŸŽ€ SEE ALSO πŸŽ€

the whole friend group, in the order they were invited to the group chat πŸ’Œ β€” from the kernel file ./include/linux/resctrl.h:

like, that's twenty-nine entries. i counted. every single one is here. you're welcome πŸ“


ngl there's no warnings section on this page, but bestie please β€” keep the flags and types exactly as written. literally do not "improve" them. πŸ™ˆ

okay that's the whole page!! and a lil sign-off for the credits, because we respect the metadata around here 🧚

this one lives in ./include/linux, dated October 2026, and it's filed under resctrl_arch_config_cntr(9) β€” periodt. πŸ’…βœ¨πŸ‘‘

πŸ“¦ where this page comes from