Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1337042

Re: [PATCH 2/12] cpufreq: governor: Move io_is_busy to struct dbs_data

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/12] cpufreq: governor: Move io_is_busy to struct dbs_data
Date 2016-02-18 06:30 +0100
Message-ID <r3pk6-MU-7@gated-at.bofh.it> (permalink)
References <r3lJv-6xI-3@gated-at.bofh.it> <r3lJv-6xI-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 18-02-16, 02:20, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> 
> The io_is_busy governor tunable is only used by the ondemand governor
> and is located in the ondemand-specific data structure, but it is
> looked at by the common governor code that has to do ugly things to
> get to that value, so move it to struct dbs_data and modify ondemand
> accordingly.
> 
> Since the conservative governor never touches that field, it will
> be always 0 for that governor and it won't have any effect on the
> results of computations in that case.
> 
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> ---
>  drivers/cpufreq/cpufreq_governor.c |   27 +++++++++------------------
>  drivers/cpufreq/cpufreq_governor.h |    2 +-
>  drivers/cpufreq/cpufreq_ondemand.c |   12 +++++-------
>  3 files changed, 15 insertions(+), 26 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 2/12] cpufreq: governor: Move io_is_busy to struct dbs_data "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-02-18 02:40 +0100
  Re: [PATCH 2/12] cpufreq: governor: Move io_is_busy to struct  dbs_data Viresh Kumar <viresh.kumar@linaro.org> - 2016-02-18 06:30 +0100

csiph-web