Messages in this thread | | | Date | Tue, 29 Jan 2019 11:40:53 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH V3] sched/cpufreq: calculate util / cap in advance in map_util_freq() |
| |
On Mon, Jan 28, 2019 at 02:27:21PM +0800, Chunyan Zhang wrote: > From: "vincent.wang" <vincent.wang@unisoc.com> > > 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 cap, which are parameters used in map_util_freq(), will be > cpu frequency, instead of cpu util and capactiy.
Didn't I tell you to fix the IOWAIT case to not pass in such large numbers?
| |