STRUCT RESCTRL_SCHEMA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 of resctrl_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:


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