resctrl_arc...lloc_enabled(9)
π resctrl_arch_get_io_alloc_enabled(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a teeny tiny little function page but it's still iconic, don't sleep on it. We're in ./include/linux/resctrl.h territory, and this is the whole vibe:
β¨ NAME β¨
resctrl_arch_get_io_alloc_enabled β literally just Get io_alloc feature state. that's it, that's the whole job π
πΈ SYNOPSIS πΈ
bool resctrl_arch_get_io_alloc_enabled (struct rdt_resource *r );
likeβ¦ one argument, one bool out. lowkey the most chill function in the whole resctrl family π¦
π ARGUMENTS π
rβ The resctrl resource. yeah that's the whole description bestie, she's astruct rdt_resource *and she's the resource you're asking about. no notes β¨
β RETURN β
Returns true if io_alloc is enabled, or false if it's disabled. that's the entire plot π clean, simple, no cap.
fr fr it's just a yes/no β no error codes, no negative returns to worry about, she's not gonna surprise you π«Ά
π SEE ALSO π
okay so this is the part where the page flexes its whole friend group π β every single one of these lives 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_write(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)
(and yes, resctrl_arch_io_alloc_enable(9) at the end is basically her sibling β the enable, versus this one, the get. slay π
)
that's the whole page, bestie!! π§π
sign-off time π: this little gem comes to you from ./include/linux, dated October 2026 β go forth and check your io_alloc state, ily, byeee πβ¨
π¦ 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