Re: [PATCH v4] sched/freq: move call to cpufreq_update_util

From: Peter Zijlstra
Date: Fri Nov 15 2019 - 05:51:40 EST


On Fri, Nov 15, 2019 at 11:46:01AM +0100, Vincent Guittot wrote:
> On Fri, 15 Nov 2019 at 11:37, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> > Sure, but then it can still remember the value passed in last and use
> > that state later.
> >
> > It doesn't _have_ to completely discard values.
>
> yes but it means that we run at the "wrong" frequency during this
> period and also that the cpufreq must in this case set a kind of timer
> to resubmit a new frequency change out of scheduler event

But if, as you say, we're completely shutting down the event stream
when everything has decayed, that's still true, right?