scx/scheds/rust-user
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
..
scx_layered scx_layered: Use p->thread_node to iterate threads in tp_cgroup_attach_task() 2023-12-04 10:58:06 -10:00
scx_rusty scx_rusty: Add comment explaining spurious delete_elem failures 2023-12-04 10:51:05 -10:00
meson.build build: Trigger cargo build on rust sub-projects from meson.build 2023-12-01 11:58:56 -10:00