Re: [PATCH] sched/cpufreq: calculate util / max firstly in get_next_freq()

2019-01-04 Thread Quentin Perret
Hi, On Monday 24 Dec 2018 at 14:59:07 (+0800), Chunyan Zhang wrote: > From: Vincent Wang > > When a task that is in_iowait state is enqueued, cpufreq_update_util() will > be invoked with SCHED_CPUFREQ_IOWAIT flag. In this case,the value of util > and max, which are parameters used in

[PATCH] sched/cpufreq: calculate util / max firstly in get_next_freq()

2018-12-23 Thread Chunyan Zhang
From: Vincent Wang When a task that is in_iowait state is enqueued, cpufreq_update_util() will be invoked with SCHED_CPUFREQ_IOWAIT flag. In this case,the value of util and max, which are parameters used in get_next_freq(), will be cpu frequency, instead of cpu util or capactiy. For some 32bit