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

From: Quentin Perret
Date: Mon Feb 22 2021 - 11:45:35 EST


On Monday 22 Feb 2021 at 16:39:47 (+0000), Vincent Donnefort wrote:
> On Mon, Feb 22, 2021 at 04:23:42PM +0000, Quentin Perret wrote:
> > On Monday 22 Feb 2021 at 15:58:56 (+0000), Quentin Perret wrote:
> > > But in any case, if we're going to address this, I'm still not sure this
> > > patch will be what we want. As per my first comment we need to keep the
> > > frequency estimation right.
> >
> > Totally untested, but I think in principle you would like something like
> > the snippet below. Would that work?
>
> You preempted my previous email :)
>
> Yeah, that looks like what we want, I'll give a try.

Cool, thanks.

And ofc no strong opinion about the implementation details, this can
most certainly be optimized in some way so have fun :)

Cheers,
Quentin