rdtgroup_mode_str(9)
π rdtgroup_mode_str(9) π
okay so bestie, welcome to the Kernel API Manual β yes, the real one, the kernel one, we're doing this π«Ά this is the lil page for rdtgroup_mode_str, and honestly? it's giving "small function, big main character energy" β¨
πΈ NAME πΈ
rdtgroup_mode_str β literally just returns the string representation of a mode, that's the whole vibe π
β¨ SYNOPSIS β¨
const char * rdtgroup_mode_str (enum rdtgrp_mode mode );
that's it. that's the signature. copy it exactly, no cap π₯
π ARGUMENTS π
modeβ the resource group mode, handed to you as anenum rdtgroup_modeπ« so like, it's an enum, it's the mode, it's the resource group's mode. iykyk.
β RETURN β
you get back the string representation of a valid mode π
and if it's not a valid mode? you get "unknown" instead. that's the fallback, she's humble, she's reliable π
fr fr, "unknown" is the exact string, quotes and all β don't be out here inventing your own spelling π
π¦ SEE ALSO π¦
bestie there are SO many friends here, it's a whole group chat π and also, the kernel file lives at ./fs/resctrl/rdtgroup.c β write that down π
closid_allocated(9)rdtgroup_mode_by_closid(9)rdtgroup_remove(9)rdtgroup_tasks_assigned(9)__rdtgroup_cbm_overlaps(9)rdtgroup_cbm_overlaps(9)rdtgroup_mode_test_exclusive(9)rdtgroup_cbm_to_size(9)rdtgroup_kn_mode_restrict(9)rdtgroup_kn_mode_restore(9)mon_get_kn_priv(9)mon_put_kn_priv(9)cbm_ensure_valid(9)mongrp_reparent(9)domain_setup_l3_mon_state(9)resctrl_exit(9)
okay that's the page!! she's short, she's sweet, she ate and left no crumbs π
source/version: ./fs/resctrl β’ date: October 2026 β bye bestie, mwah ππ
π¦ 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