[0/2] sched/eevdf: Minor fixes for reweight_entity()

Message ID 20240304030042.2690-1-dtcccc@linux.alibaba.com
Headers
Series sched/eevdf: Minor fixes for reweight_entity() |

Message

Tianchen Ding March 4, 2024, 3 a.m. UTC
  According to the discussion in [1], fix a calculation bug in
reweight_entity().

[1] https://lore.kernel.org/all/59585184-d13d-46e0-8d68-42838e97a702@bytedance.com/

Tianchen Ding (2):
  sched/eevdf: Always update V if se->on_rq when reweighting
  sched/eevdf: Fix miscalculation in reweight_entity() when se is not
    curr

 kernel/sched/fair.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)