STRUCT MONGROUP(9)
π struct mongroup(9) π
okay so this is a page from the Kernel API Manual, section 9 β welcome bestie, we're learning about struct mongroup today and honestly? she's giving "small but mighty" β¨
πΈ NAME πΈ
struct mongroup β the struct whose whole job is to store mon group's data in resctrl fs. that's it. that's her purpose. iconic.
π SYNOPSIS π
here's the whole vibe, laid out for u:
struct mongroup {
struct kernfs_node *mon_data_kn;
struct rdtgroup *parent;
struct list_head crdtgrp_list;
u32 rmid;
};
no cap, that's the entire thing. four members. she's compact π
π¦ Members π¦
lowkey the important part, so pay attention bestie:
mon_data_knβ the kernfs node for themon_datadirectory ποΈparentβ the parentrdtgrpπ«Άcrdtgrp_listβ the childrdtgroupnode list πrmidβ thermidfor thisrdtgroupπ₯
β SEE ALSO β
go read these next, they're all in the kernel file ./fs/resctrl/internal.h β collect them all like lil trading cards, iykyk π
cpumask_any_housekeeping(9)struct mon_evt(9)struct mon_data(9)struct rmid_read(9)enum rdtgrp_mode(9)struct rdtgroup(9)struct rftype(9)struct mbm_state(9)
ngl this page has no OPTIONS, no exit statuses, no environment variables, no warnings β it's just a struct and her friends. sometimes that's all u need π§
and that's the whole page bestie, go forth and understand resctrl fs internals π
written for ./fs/resctrl, dated October 2026 β mwah, see u in the next manual page ππ¦β¨
π¦ 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