cgroup_tasks..._each_leader(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cgroup_tasks..._each_leader(9)

okay so bestie, welcome to the Kernel API Manual page for cgroup_tasks..._each_leader β€” yes the title is literally abbreviated with dots, that's just how the man page header rolls, no cap πŸŽ€


✨ NAME ✨

cgroup_taskset_for_each_leader β€” iterate group leaders in a cgroup_taskset πŸ¦‹


🌸 SYNOPSIS 🌸

cgroup_taskset_for_each_leader (leader , dst_css , tset );

that's it, that's the whole vibe. three args, one loop, iconic behavior πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • leader β€” the loop cursor πŸ’« like, this is the variable you're using to walk through everything, she's the main character of the loop
  • dst_css β€” the destination css 🧚 your target css, the place these tasks are headed
  • tset β€” taskset to iterate 🌈 the actual cgroup_taskset you're looping over

πŸ’– DESCRIPTION πŸ’–

Iterate threadgroup leaders of tset. 🫢

and here's the lil caveat you gotta know, bestie: for single-task migrations, tset may not contain any. 😭 like literally none. so don't be out here assuming there's always something to find, okay? vibe check your tset first πŸ’€


⭐ SEE ALSO ⭐

Kernel file ./include/linux/cgroup.h πŸ“ β€” and the whole friend group of related functions, all of them, here we go:

no gatekeeping here, the whole group chat is invited πŸ’œ


okay and that's the page!! πŸ“ this lil beauty lives over in ./include/linux and it's stamped October 2026 β€” same header name cgroup_tasks..._each_leader(9) up top and down at the bottom, because symmetry is slay ✨ go iterate some leaders, bestie, you got this πŸ’…πŸ”₯

πŸ“¦ where this page comes from