scx_cgroup_task_migrated(9)
π¦ scx_cgroup_task_migrated(9) β Kernel API Manual π¦
πΈ NAME πΈ
scx_cgroup_task_migrated β re-home a task that changed cgroups. literally the relocation glow-up for a task that switched cgroups π
β¨ SYNOPSIS β¨
void scx_cgroup_task_migrated (struct cgroup_task_migrate_ctx *ctx );
π ARGUMENTS π
ctxβ committed migration. that's the migration that's already committed, bestie β no take-backs π
π DESCRIPTION π
Move the task to its new cgroup's sched, which scx_cgroup_task_migrating already initialized it for. Can't fail. periodt. β¨
This is safe against all phases of the destination sched's destruction. no cap. π«Ά
A disable resets cgroup ownership to the parent and re-homes tasks in one scx_cgroup_lock section. If that section already ran, the destination would be the parent. Otherwise, the re-home loop is still ahead and guaranteed to visit the task, now in the destination cgroup. iconic behavior, honestly π
π SEE ALSO π
the kernel file itself: ./kernel/sched/ext/sub.c β go read the source, bestie π
scx_skip_subtree_pre(9)scx_next_descendant_pre(9)scx_rescue_charge(9)scx_rescue_end(9)scx_rescue_keep(9)scx_rescue_accrue(9)scx_rescue_admit(9)scx_rescue_try_admit(9)scx_rescue_check_overload(9)scx_rescue_timerfn(9)scx_resolve_local_dsq(9)queue_sync_ecaps(9)scx_process_sync_ecaps(9)scx_unbypass_replay_ecaps(9)scx_discard_stale_ecaps_syncs(9)scx_rehome_task(9)scx_punt_task(9)scx_cgroup_claim_subtree(9)scx_cgroup_return_subtree(9)scx_cgroup_task_migrating(9)scx_cgroup_task_migrate_canceled(9)scx_bpf_sub_dispatch(9)scx_bpf_sub_grant(9)scx_bpf_sub_revoke(9)scx_bpf_sub_caps(9)scx_bpf_sub_kill_bstr(9)
cute sign-off: from ./kernel/sched/ext π, dated October 2026 π, page scx_cgroup_task_migrated(9) β byeee bestie π
π¦ 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