mirror of
https://github.com/JakeHillion/scx.git
synced 2024-12-04 14:57:12 +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. |
||
---|---|---|
.. | ||
scx_layered | ||
scx_rusty | ||
meson.build |