Re: [PATCH] sched/fair: fix pick_eevdf to always find the correct se
From: Mike Galbraith
Date: Fri Oct 06 2023 - 19:29:31 EST
On Fri, 2023-10-06 at 21:24 +0200, Peter Zijlstra wrote:
>
> *sigh*, does the below help?
<invisible ink goggles> ah, so there you... weren't.
Yup, all better.
> ---
> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
> index 04fbcbda97d5..6a670f119efa 100644
> --- a/kernel/sched/fair.c
> +++ b/kernel/sched/fair.c
> @@ -3632,6 +3747,7 @@ static void reweight_entity(struct cfs_rq
> *cfs_rq, struct sched_entity *se,
> */
> deadline = div_s64(deadline * old_weight, weight);
> se->deadline = se->vruntime + deadline;
> + min_deadline_cb_propagate(&se->run_node, NULL);
> }
>
> #ifdef CONFIG_SMP