On 08-01-18, 16:11, Patrick Bellasi wrote:
http://www.linux-arm.org/git?p=linux-pb.git%3Ba=shortlog%3Bh=refs/heads/eas/...
My numbers with the util-est patches were terrible and found out that below hunk is required to make it work, specially that I was testing without sched tune.
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index b5b2aa40654c..ab00d6b653a5 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -6303,7 +6303,7 @@ boosted_cpu_util(int cpu) util = max(util, cpu_rq(cpu)->cfs.util_est_runnable);
margin = schedtune_cpu_margin(util, cpu); - util = min_t(long, (margin), SCHED_CAPACITY_SCALE); + util = min_t(long, util + margin, SCHED_CAPACITY_SCALE);
trace_sched_boost_cpu(cpu, util, margin);
-- viresh