ENUM RESCTRL_CONF_TYPE(9)
π 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:
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)resctrl_arch_get_io_alloc_enabled(9)
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
- 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