ENUM RESCTRL_CONF_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum resctrl_conf_type(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's all about enum resctrl_conf_type, and it's genuinely shorter than your attention span, so we're gonna slay this in like two minutes πŸŽ€


🌸 NAME 🌸

enum resctrl_conf_type β€” literally just "the type of configuration." that's it. that's the whole name. it's giving minimalist icon behavior πŸ‘‘


✨ SYNOPSIS ✨

enum resctrl_conf_type {
    CDP_NONE ,
    CDP_CODE ,
    CDP_DATA ,
    CDP_LAST

};

no cap, that's the whole enum. four constants, zero drama. the way that semicolon sits there after the closing brace with a blank line before it is... a choice, but we respect it 🫢


πŸ¦‹ Constants πŸ¦‹

  • CDP_NONE β€” no prioritisation happening here, bestie. both code and data are controlled or monitored, together, as a unit πŸ’–
  • CDP_CODE β€” this configuration applies to instruction fetches. it's the code-girlie of the enum, main character energy for real ⭐
  • CDP_DATA β€” configuration applies to reads and writes. data stays booked and busy πŸ“–βœ¨
  • CDP_LAST β€” -- undescribed -- 😭 the manpage literally has nothing for this one. it's the mystery sibling. we don't know her deal. iconic in a cryptic way ngl πŸ’€ (just to be clear though β€” the original genuinely gives no description for this one, so i'm not gonna make up a vibe for it and pretend it's facts πŸ™ˆ)

πŸ‘‘ SEE ALSO πŸ‘‘

so like, this struct does not exist alone, she runs with a whole squad πŸŽ€ β€” all of these live in the kernel file ./include/linux/resctrl.h:

like, that's a lot of friends and honestly? good for her 🌈


and that's a wrap, bestie!! πŸŽ‰ this page is sourced from the ./include/linux directory, dated October 2026, and it's filed under enum resctrl_conf_type(9) β€” go forth and configure responsibly πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from