rdtgroup_tasks_assigned(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 ⭐

  • 1 if tasks have been assigned to r
  • 0 otherwise

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:

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