STRUCT RESCTRL_SCHEMA(9)
π NAME π
okay bestie, meet struct resctrl_schema β the configuration abilities of a resource presented to user-space. This is the Kernel API Manual page for struct resctrl_schema(9), and itβs lowkey the blueprint for how a resourceβs config gets shown to user-space. π
β¨ SYNOPSIS β¨
hereβs the struct in all her glory β keep the formatting exact, sheβs sensitive:
struct resctrl_schema {
struct list_head list;
char name[8];
const char *fmt_str;
enum resctrl_conf_type conf_type;
struct rdt_resource *res;
u32 num_closid;
};
π Members π
listβ member ofresctrl_schema_all. group-chat membership, basically.nameβ the name to use in the"schemata"file. iykyk.fmt_strβ format string to show domain value.conf_typeβ whether this schema is specific to code/data.resβ the resource structure exported by the architecture to describe the hardware that is configured by this schema.num_closidβ the number of closid that can be used with this schema. When features like CDP are enabled, this will be lower than the hardware supports for the resource. important caveat, bestie β not a typo, not a glitch.
π SEE ALSO π
kernel file: ./include/linux/resctrl.h β the whole friend group is linked below, no cap:
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)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)
thatβs the whole page, bestie π source/version: ./include/linux, date: October 2026, and itβs struct resctrl_schema(9) β periodt. πβ¨
π¦ 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