resctrl_arch...alloc_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… resctrl_arch_io_alloc_enable β€” a Kernel API Manual moment ✨

okay so bestie, welcome to the Kernel API Manual β€” this one's a little function with big "turn the thing on or off" energy, and honestly? she's serving simplicity. let's get into it πŸŽ€


🌸 NAME 🌸

resctrl_arch_io_alloc_enable β€” literally just enable/disable the io_alloc feature. that's the whole vibe. no cap. πŸ’…

✨ SYNOPSIS ✨

int resctrl_arch_io_alloc_enable (struct rdt_resource *r , bool enable
);

look at her. two args, one int return, zero drama. iconic 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • r β€” the resctrl resource, aka the main character of this whole operation πŸ’–
  • enable β€” flip it on (true) or off (false) for io_alloc on resource r. that's it, that's the toggle 🌈

🧚 DESCRIPTION 🧚

so like, here's the tea: this can be called from any CPU. literally any of them. no pinning required, no "you must be on this CPU" gatekeeping, she's flexible like that ✨

⭐ RETURN ⭐

  • 0 on success πŸŽ‰ (slay)
  • <0 on error 😭 (not slay, but we move)

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives at ./include/linux/resctrl.h β€” go say hi to the whole friend group over there πŸ’œ


so yeah, that's the whole page bestie πŸ“ go forth and toggle responsibly.

this came out of ./include/linux, dated October 2026, and the header on the tin says resctrl_arch...alloc_enable(9) β€” mwah πŸ’‹ ok bye, love u, see u in the man pages πŸ§šβ€β™€οΈπŸ’–βœ¨
πŸ“¦ where this page comes from