Re: [PATCH][v2] sched: cpufreq: Fix long idle judgement logic in load calculation

2018-06-12 Thread Rafael J. Wysocki
On Friday, June 8, 2018 6:04:13 AM CEST Viresh Kumar wrote: > On 08-06-18, 09:07, Chen Yu wrote: > > According to current code implementation, detecting the long > > idle period is done by checking if the interval between two > > adjacent utilization update handers is long enough. Although > > this

Re: [PATCH][v2] sched: cpufreq: Fix long idle judgement logic in load calculation

2018-06-07 Thread Viresh Kumar
On 08-06-18, 09:07, Chen Yu wrote: > According to current code implementation, detecting the long > idle period is done by checking if the interval between two > adjacent utilization update handers is long enough. Although > this mechanism can detect if the idle period is long enough > (no utilizat

[PATCH][v2] sched: cpufreq: Fix long idle judgement logic in load calculation

2018-06-07 Thread Chen Yu
According to current code implementation, detecting the long idle period is done by checking if the interval between two adjacent utilization update handers is long enough. Although this mechanism can detect if the idle period is long enough (no utilization hooks invoked during idle period), it mig