scx-upstream/scheds
Tejun Heo c42ba105ca scx_layered: Use p->thread_node to iterate threads in tp_cgroup_attach_task()
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.
2023-12-04 10:58:06 -10:00
..
include scheds: Rearrange include files to match kernel/tools/sched_ext/include 2023-12-03 12:47:23 -10:00
kernel-examples scx_flatcg: Drop unnecessary include 2023-12-03 14:22:59 -10:00
rust-user scx_layered: Use p->thread_node to iterate threads in tp_cgroup_attach_task() 2023-12-04 10:58:06 -10:00
meson.build scheds: Rearrange include files to match kernel/tools/sched_ext/include 2023-12-03 12:47:23 -10:00
sync-to-kernel.sh sync-to-kernel.sh: Drop unused shopt globstar 2023-12-03 15:35:15 -10:00