Re: [PATCH 2/2] cpufreq: schedutil: consolidate capacity margin calculation
From: Peter Zijlstra
Date: Mon Sep 25 2017 - 04:15:45 EST
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..