Skip to contentSkip to conversation

sched/fair: cgroup::idle preemption fix

7.3.y Applied Jakub Okoński 2 participants 2 messages Nov 25 – Nov 27 Stable branch

lore
Share & tools
lore
#0 lore raw

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

maintainer Applied
#1 lore raw
Quoted 4 lines

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")

Queued both for 7.3, thanks.

Signature · 2 lines
Thanks,
Sasha