From: Peter Zijlstra <peterz@infradead.org>
To: Leo Yan <leo.yan@linaro.org>
Cc: Ingo Molnar <mingo@redhat.com>,
linux-kernel@vger.kernel.org,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
Morten Rasmussen <morten.rasmussen@arm.com>,
Chris Redpath <Chris.Redpath@arm.com>,
Joel Fernandes <joelaf@google.com>,
Vincent Guittot <vincent.guittot@linaro.org>
Subject: Re: [PATCH 2/2] cpufreq: schedutil: consolidate capacity margin calculation
Date: Mon, 25 Sep 2017 10:15:31 +0200 [thread overview]
Message-ID: <20170925081531.hscd5usonplwns3q@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <1506121484-8260-2-git-send-email-leo.yan@linaro.org>
On Sat, Sep 23, 2017 at 07:04:44AM +0800, Leo Yan wrote:
> + freq = (freq * capacity_margin / 1024) * util / max;
We have SCHED_CAPACITY_SCALE for that..
next prev parent reply other threads:[~2017-09-25 8:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-22 23:04 [PATCH 1/2] sched/fair: make capacity_margin __read_mostly Leo Yan
2017-09-22 23:04 ` [PATCH 2/2] cpufreq: schedutil: consolidate capacity margin calculation Leo Yan
2017-09-25 8:15 ` Peter Zijlstra [this message]
2017-09-25 13:55 ` Patrick Bellasi
2017-09-28 6:33 ` Leo Yan
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=20170925081531.hscd5usonplwns3q@hirez.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=Chris.Redpath@arm.com \
--cc=dietmar.eggemann@arm.com \
--cc=joelaf@google.com \
--cc=leo.yan@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=morten.rasmussen@arm.com \
--cc=vincent.guittot@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
all inboxes | Powered by JetHome®