Re: [PATCH] sched/fair: Fix task utilization accountability in cpu_util_next()

From: Quentin Perret
Date: Mon Feb 22 2021 - 11:36:37 EST


On Monday 22 Feb 2021 at 16:31:08 (+0000), Vincent Donnefort wrote:
> I suppose, a way of fixing this, is to keep cpu_util_next() the way it is to
> get the appropriate frequency at which the CPU would run once the task has been
> enqueued, for the 'max_util', and have 'sum_util' being the sum of the pd's util
> (without the task) + task_util_est().

You read my mind :)