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


Groups > linux.kernel > #1738812

Re: [PATCH 2/2] cpufreq: schedutil: consolidate capacity margin calculation

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] cpufreq: schedutil: consolidate capacity margin calculation
Date 2017-09-25 10:20 +0200
Message-ID <utwMq-3Lc-9@gated-at.bofh.it> (permalink)
References <usFf4-3LG-7@gated-at.bofh.it> <usFf4-3LG-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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..

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


Thread

[PATCH 2/2] cpufreq: schedutil: consolidate capacity margin calculation Leo Yan <leo.yan@linaro.org> - 2017-09-23 01:10 +0200
  Re: [PATCH 2/2] cpufreq: schedutil: consolidate capacity margin  calculation Peter Zijlstra <peterz@infradead.org> - 2017-09-25 10:20 +0200
  Re: [PATCH 2/2] cpufreq: schedutil: consolidate capacity margin  calculation Patrick Bellasi <patrick.bellasi@arm.com> - 2017-09-25 16:00 +0200

csiph-web