Re: [PATCH v5 3/4] sched/cpufreq_schedutil: use util_est for OPP selection

2018-03-07 Thread Peter Zijlstra
On Thu, Feb 22, 2018 at 05:01:52PM +, Patrick Bellasi wrote: > static inline unsigned long cpu_util_cfs(struct rq *rq) > { > + if (!sched_feat(UTIL_EST)) > + return READ_ONCE(rq->cfs.avg.util_avg); > + > + return max_t(unsigned long, > + READ_ONCE(rq->cfs.

Re: [PATCH v5 3/4] sched/cpufreq_schedutil: use util_est for OPP selection

2018-02-25 Thread Viresh Kumar
On 22-02-18, 17:01, Patrick Bellasi wrote: > When schedutil looks at the CPU utilization, the current PELT value for > that CPU is returned straight away. In certain scenarios this can have > undesired side effects and delays on frequency selection. > > For example, since the task utilization is d