Commit 3a0baa8
sched/fair: Fix entity's lag with run to parity
When an entity is enqueued without preempting current, we must ensure
that the slice protection is updated to take into account the slice
duration of the newly enqueued task so that its lag will not exceed
its slice (+ tick).
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20250708165630.1948751-6-vincent.guittot@linaro.org1 parent 052c3d8 commit 3a0baa8
1 file changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
889 | 889 | | |
890 | 890 | | |
891 | 891 | | |
892 | | - | |
| 892 | + | |
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
896 | 896 | | |
897 | 897 | | |
898 | | - | |
| 898 | + | |
899 | 899 | | |
900 | 900 | | |
901 | 901 | | |
| |||
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
907 | 914 | | |
908 | 915 | | |
909 | 916 | | |
| |||
5467 | 5474 | | |
5468 | 5475 | | |
5469 | 5476 | | |
5470 | | - | |
| 5477 | + | |
5471 | 5478 | | |
5472 | 5479 | | |
5473 | 5480 | | |
| |||
8720 | 8727 | | |
8721 | 8728 | | |
8722 | 8729 | | |
| 8730 | + | |
| 8731 | + | |
| 8732 | + | |
8723 | 8733 | | |
8724 | 8734 | | |
8725 | 8735 | | |
| |||
0 commit comments