resctrl_arc...config_write(9)
π resctrl_arch_mon_event_config_write(9) π
ok so real talk, this page lives in the Kernel API Manual, and it's about resctrl_arch_mon_event_config_write β yeah, the name is a whole mouthful, iykyk, but we're gonna get through it together bestie π«Ά
β¨ NAME β¨
resctrl_arch_mon_event_config_write β literally just writes the config for an event. that's the whole vibe check π
πΈ SYNOPSIS πΈ
void resctrl_arch_mon_event_config_write (void *config_info );
one argument, one function, no return value, we love a low-maintenance icon π
π ARGUMENTS π
config_infoβ astruct resctrl_mon_config_infothat describes the resource, the domain, and the event. it's giving "everything you need in one little bag" πβ¨
π DESCRIPTION π
okay so here's the tea π΅ β this function reads the resource, the domain, and the eventid out of config_info, and then it writes the event config_info->mon_config straight into the hardware. no cap, that's the entire personality.
and the fun part: it's called via IPI to reach a CPU that's a member of the specified domain π₯οΈπ« so like, it's not just doing it locally, it's reaching out to the right CPU to get it done. main character energy fr fr.
π¦ SEE ALSO π¦
okay this list is LONG but we're not skipping a single one, because every single cross-reference deserves its moment β (and they all live in the Kernel file ./include/linux/resctrl.h):
enum resctrl_conf_type(9)struct resctrl_staged_config(9)struct rdt_domain_hdr(9)struct rdt_ctrl_domain(9)struct mbm_cntr_cfg(9)struct rdt_l3_mon_domain(9)struct resctrl_cache(9)enum membw_throttle_mode(9)struct resctrl_membw(9)enum resctrl_schema_fmt(9)struct resctrl_mon(9)struct rdt_resource(9)struct resctrl_schema(9)resctrl_arch_sync_cpu_closid_rmid(9)resctrl_get_default_ctrl(9)resctrl_arch_mon_event_config_read(9)resctrl_arch_mbm_cntr_assign_enabled(9)resctrl_arch_mbm_cntr_assign_set(9)resctrl_arch_rmid_read(9)resctrl_arch_rmid_read_context_check(9)resctrl_find_domain(9)resctrl_arch_reset_rmid(9)resctrl_arch_reset_rmid_all(9)resctrl_arch_reset_all_ctrls(9)resctrl_arch_config_cntr(9)resctrl_arch_cntr_read(9)resctrl_arch_reset_cntr(9)resctrl_arch_io_alloc_enable(9)resctrl_arch_get_io_alloc_enabled(9)
like, that's a full friend group right there, the whole squad showed up π«Άπ
π§ sign-off π§
this page is birthed from ./include/linux, dated October 2026 β so yeah, she's from the future, slay π₯π go read some kernel source bestie, ily, bye πβ¨π
π¦ 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