sched/fair: cgroup::idle preemption fix
Hi,
I'd like to see these two mainline commits backported to 7.3.y:
9a92f776dfa6 ("sched/fair: Use guard in sched_group_set_idle()") 75545668ae0f ("sched/fair: Make cfs_rq::idle the sum of ancestor tg::idle")
The second fixes a regression introduced in 7.3 by 85570f10a4c6 ("sched/eevdf: Move to a single runqueue"): with the flat runqueue, wakeup preemption no longer considers tasks inside a cpu.idle cgroup as idle, which made non-idle tasks wait instead of preempting them. The first patch is a pre-requisite.
Report: https://lore.kernel.org/all/[email protected]/
Series: https://lore.kernel.org/all/[email protected]/
Regards,
Jakub
Quoted 4 lines
I'd like to see these two mainline commits backported to 7.3.y:
9a92f776dfa6("sched/fair: Use guard insched_group_set_idle()")75545668ae0f("sched/fair: Makecfs_rq::idlethe sum of ancestortg::idle")
Queued both for 7.3, thanks.
Signature · 2 lines
Thanks, Sasha