lkml.org 
[lkml]   [2021]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched/fair: Fix task utilization accountability in cpu_util_next()
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

\
 
 \ /
  Last update: 2021-02-22 17:46    [W:0.032 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site