]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched: Fix sched_delayed vs cfs_bandwidth
authorMike Galbraith <efault@gmx.de>
Tue, 1 Oct 2024 01:34:01 +0000 (03:34 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 2 Oct 2024 09:27:54 +0000 (11:27 +0200)
commit9b5ce1a37e904fac32d560668134965f4e937f6c
treee68b96f4e53cd665ed7b6b5c8adc5ad8b984e0f1
parente32cde8d2bd7d251a8f9b434143977ddf13dcec6
sched: Fix sched_delayed vs cfs_bandwidth

Meeting an unfinished DELAY_DEQUEUE treated entity in unthrottle_cfs_rq()
leads to a couple terminal scenarios.  Finish it first, so ENQUEUE_WAKEUP
can proceed as it would have sans DELAY_DEQUEUE treatment.

Fixes: 152e11f6df29 ("sched/fair: Implement delayed dequeue")
Reported-by: Venkat Rao Bagalkote <venkat88@linux.vnet.ibm.com>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.vnet.ibm.com>
Link: https://lore.kernel.org/r/7515d2e64c989b9e3b828a9e21bcd959b99df06a.camel@gmx.de
kernel/sched/fair.c