resctrl_arc...lloc_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 a struct 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:

(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