[v4,0/1] sched/fair: Track current se's EEVDF parameters

Message ID 20231104090054.124945-1-s921975628@gmail.com
Headers
Series sched/fair: Track current se's EEVDF parameters |

Message

Yiwei Lin Nov. 4, 2023, 9 a.m. UTC
  I'm sorry that there was an obvious error in the previous submissions
that caused EEVDF to always be unable to find the eligible se......
This patch should address those issues.

Changelog:
v3 -> v4:
    - Fix incorrect changes which make EEVDF picks the first entity
instead of the eligible one
v2 -> v3:
    - Simplify how we avg_vruntime_add() and avg_vruntime_sub() when
neeed
    - Do not avg_vruntime_add() the contributions of 'curr' again when
put_prev_entity()
v1 -> v2:
    - Consider the contribution to avg_vruntime for 'curr'


 kernel/sched/fair.c | 35 +++++++++--------------------------
 1 file changed, 9 insertions(+), 26 deletions(-)