Re: [PATCH v3 2/2] cpufreq: schedutil: Cleanup and document iowait boost

2018-05-21 Thread Joel Fernandes
On Mon, May 21, 2018 at 09:51:20AM +0100, Patrick Bellasi wrote: > The iowait boosting code has been recently updated to add a progressive > boosting behavior which allows to be less aggressive in boosting tasks > doing only sporadic IO operations, thus being more energy efficient for > example on

Re: [PATCH v3 2/2] cpufreq: schedutil: Cleanup and document iowait boost

2018-05-21 Thread Viresh Kumar
On 21-05-18, 11:11, Patrick Bellasi wrote: > On 21-May 15:22, Viresh Kumar wrote: > > On 21-05-18, 09:51, Patrick Bellasi wrote: > > > diff --git a/kernel/sched/cpufreq_schedutil.c > > > b/kernel/sched/cpufreq_schedutil.c > > > +static void sugov_iowait_boost(struct sugov_cpu *sg_cpu, u64 time, >

Re: [PATCH v3 2/2] cpufreq: schedutil: Cleanup and document iowait boost

2018-05-21 Thread Patrick Bellasi
On 21-May 15:22, Viresh Kumar wrote: > On 21-05-18, 09:51, Patrick Bellasi wrote: > > diff --git a/kernel/sched/cpufreq_schedutil.c > > b/kernel/sched/cpufreq_schedutil.c > > +static void sugov_iowait_boost(struct sugov_cpu *sg_cpu, u64 time, > > + unsigned int flags) > >

Re: [PATCH v3 2/2] cpufreq: schedutil: Cleanup and document iowait boost

2018-05-21 Thread Viresh Kumar
On 21-05-18, 09:51, Patrick Bellasi wrote: > diff --git a/kernel/sched/cpufreq_schedutil.c > b/kernel/sched/cpufreq_schedutil.c > +static void sugov_iowait_boost(struct sugov_cpu *sg_cpu, u64 time, > +unsigned int flags) > +{ > + bool set_iowait_boost = flags & SCHE