rdtgroup_tasks_assigned(9)
π rdtgroup_tasks_assigned β the "is anyone actually in here??" check
okay so this is a page from the Kernel API Manual (section 9, bestie, kernel API territory), and it's about rdtgroup_tasks_assigned β literally the function that tells you whether any tasks have been assigned to a resource group. That's it. That's the whole vibe check. β¨
πΈ NAME πΈ
rdtgroup_tasks_assigned β Test if tasks have been assigned to resource group π«Ά
like... it tests it. it's a test. that's the job. no cap.
π¦ SYNOPSIS π¦
int rdtgroup_tasks_assigned (struct rdtgroup *r );
that's the whole signature, mwah π. returns an int, takes a struct rdtgroup * named r. clean, simple, iconic.
π ARGUMENTS π
rβ Resource group π this is the resource group you're asking about. the one getting the vibe check. the main character, honestly.
β RETURN β
1if tasks have been assigned tor0otherwise
so like, one means "yes bestie, there are tasks in there", zero means "it's empty, nobody home π". binary as hell and we love that for it.
π₯ SEE ALSO π₯
the friend group!! go say hi π all of these live in the kernel file ./fs/resctrl/rdtgroup.c:
closid_allocated(9)rdtgroup_mode_by_closid(9)rdtgroup_mode_str(9)rdtgroup_remove(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)
iykyk π these are all the sibling functions, the whole resctrl family reunion.
anyway, that's the page!! this one came out of ./fs/resctrl and it's dated October 2026 β so yeah, mark your calendars, bestie πβ¨ go check your resource groups, and remember: 1 means tasks showed up, 0 means the group is a ghost town ππ¦
π¦ 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