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: Take into account current's lag when updating slice protection
Take into account the lag of current task when updating the slice protection in order to ensure that the absolute value of lags will remain in the range [0 : slice+tick] A task that already has a negative lag will see its protection reduced whereas a task with positive lag will keep a full slice protection. 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-3-vincent.guittot@linaro.org
This commit is contained in:
parent
8f97b627ff
commit
49f87b4d0b
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue