Re: [PATCH] sched/rt: fix call to cpufreq_update_util

2018-05-17 Thread Vincent Guittot
On 17 May 2018 at 06:08, Viresh Kumar wrote: > On 16-05-18, 20:18, Vincent Guittot wrote: >> With commit 8f111bc357aa ("cpufreq/schedutil: Rewrite CPUFREQ_RT support") >> schedutil governor uses rq->rt.rt_nr_running to detect whether a RT task is >> currently running on the CPU and to set frequenc

Re: [PATCH] sched/rt: fix call to cpufreq_update_util

2018-05-16 Thread Viresh Kumar
On 16-05-18, 20:18, Vincent Guittot wrote: > With commit 8f111bc357aa ("cpufreq/schedutil: Rewrite CPUFREQ_RT support") > schedutil governor uses rq->rt.rt_nr_running to detect whether a RT task is > currently running on the CPU and to set frequency to max if necessary. > cpufreq_update_util() is c

[PATCH] sched/rt: fix call to cpufreq_update_util

2018-05-16 Thread Vincent Guittot
With commit 8f111bc357aa ("cpufreq/schedutil: Rewrite CPUFREQ_RT support") schedutil governor uses rq->rt.rt_nr_running to detect whether a RT task is currently running on the CPU and to set frequency to max if necessary. cpufreq_update_util() is called in enqueue/dequeue_top_rt_rq() but rq->rt.rt_