lkml.org 
[lkml]   [2017]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 0/6] cpufreq: schedutil: fixes for flags updates
On Thu, Dec 21, 2017 at 02:45:02PM +0530, Viresh Kumar wrote:
> On 20-12-17, 16:43, Peter Zijlstra wrote:
> > The below makes more sense to me too; hmm?
> >
> > @@ -335,12 +335,11 @@ static unsigned int sugov_next_freq_shar
> >
> > j_max = j_sg_cpu->max;
> > j_util = sugov_aggregate_util(j_sg_cpu);
> > + sugov_iowait_boost(j_sg_cpu, &util, &max);

This should 'obviously' have been:

sugov_iowait_boost(j_sg_cpu, &j_util, *j_max);

> > if (j_util * max > j_max * util) {
> > util = j_util;
> > max = j_max;
> > }
> > -
> > - sugov_iowait_boost(j_sg_cpu, &util, &max);

\
 
 \ /
  Last update: 2017-12-21 11:26    [W:0.067 / U:2.920 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site