mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
sched/eevdf: Always update slice protection
Even if p will not preempt current, it modifies the avg_vruntime and possibly the min slice. Make sure to update the slice protection with the updated figures. As an example, Batch and Sched Idle tasks can otherwise get a larger lag than their slice and finaly delay the scheduling of a normal task, which deadline will be a later. Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: K Prateek Nayak <kprateek.nayak@amd.com> Link: https://patch.msgid.link/20260624151229.1710703-6-vincent.guittot@linaro.org
This commit is contained in:
parent
ba0d3bf5f9
commit
7cd2ef17de
1 changed files with 6 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue