From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Stratos Karafotis <stratosk@semaphore.gr>,
cpufreq@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cpufreq: ondemand: Replace down_differential tuner with adj_up_threshold
Date: Wed, 06 Feb 2013 13:58:37 +0100 [thread overview]
Message-ID: <2305264.MrLQGjTkB4@vostro.rjw.lan> (raw)
In-Reply-To: <CAOh2x=ksAibntsfGm51r+JiQOAhHYYmHF1o=_H97fSKqGcq_mQ@mail.gmail.com>
On Wednesday, February 06, 2013 11:05:45 AM Viresh Kumar wrote:
> On Wed, Feb 6, 2013 at 2:34 AM, Stratos Karafotis <stratosk@semaphore.gr> wrote:
> > In order to avoid the calculation of up_threshold - down_differential
> > every time that the frequency must be decreased, we replace the
> > down_differential tuner with the adj_up_threshold which keeps the
> > difference across multiple checks.
> >
> > Update the adj_up_threshold only when the up_theshold is also updated.
> >
> > Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
> > ---
> > drivers/cpufreq/cpufreq_governor.h | 2 +-
> > drivers/cpufreq/cpufreq_ondemand.c | 16 ++++++++++------
> > 2 files changed, 11 insertions(+), 7 deletions(-)
>
> Makes sense.
>
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Thanks, applied to bleeding-edge.
Rafael
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
prev parent reply other threads:[~2013-02-06 12:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-05 21:04 [PATCH] cpufreq: ondemand: Replace down_differential tuner with adj_up_threshold Stratos Karafotis
2013-02-06 5:35 ` Viresh Kumar
2013-02-06 12:58 ` Rafael J. Wysocki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2305264.MrLQGjTkB4@vostro.rjw.lan \
--to=rjw@sisk.pl \
--cc=cpufreq@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=stratosk@semaphore.gr \
--cc=viresh.kumar@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox