mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 20:20:23 +00:00
c42ba105ca
tp_cgroup_attach_task() walks p->thread_group to visit all member threads and set tctx->refresh_layer. However, the upstream kernel has removed p->thread_group recently in 8e1f385104ac ("kill task_struct->thread_group") as it was mostly a duplicate of p->signal->thread_head list which goes through p->thread_node. Switch to iterate via p->thread_node instead, add a comment explaining why it's using the cgroup TP instead of scx_ops.cgroup_move(), and make iteration failure non-fatal as the iteration is racy. |
||
---|---|---|
.. | ||
include | ||
kernel-examples | ||
rust-user | ||
meson.build | ||
sync-to-kernel.sh |