Skip to content

sched/fair: Fix cgroup::idle preemption

Peter Zijlstra lkml 1 version Applied

Status from this message: The following commit has been merged into the sched/urgent branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 21 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3sched/fair: Use guard in sched_group_set_idle()kernel/sched/fair.c+4 -123 replies
2/3sched/fair: Make cfs_rq::idle the sum of ancestor tg::idlekernel/sched/core.c kernel/sched/debug.c kernel/sched/fair.c +1 more+50 -3014 replies
3/3sched/eevdf: Fix sched idle task group preemptionkernel/sched/fair.c+74 -138 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchKayra CizmeciVincent GuittotJosh Don
1/3R-b R-b R-b
2/3R-b R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] sched/fair: Fix cgroup::idle preemption

Hi!

so I finally got around to looking at this again with a fresh mind and an LLM generated testcase. It appears to actually work now.

I'm still not convinced on the whole find_matching_se() thing; at the end of the day we mark a subtree 'idle', which is akin to saying 'dont care', so then actually caring about how it ends up preempting on a different level is weird to me.

As such, I have Vincent's patch last; modified to use the new idle state as optimization.