OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55af384
)
sched/core: Fix PELT jump to max OPP upon util increase
author
Andres Oportus
<andresoportus@google.com>
Thu, 23 Feb 2017 19:58:22 +0000
(11:58 -0800)
committer
Andres Oportus
<andresoportus@google.com>
Fri, 2 Jun 2017 15:01:54 +0000
(08:01 -0700)
Change-Id: Ic80b588ec466ef707f658dcea039fd0d6b384b63
Signed-off-by: Andres Oportus <andresoportus@google.com>
kernel/sched/core.c
patch
|
blob
|
history
diff --git
a/kernel/sched/core.c
b/kernel/sched/core.c
index
da44d13
..
e353de8
100644
(file)
--- a/
kernel/sched/core.c
+++ b/
kernel/sched/core.c
@@
-2969,9
+2969,10
@@
unsigned long sum_capacity_reqs(unsigned long cfs_cap,
return total += scr->dl;
}
+unsigned long boosted_cpu_util(int cpu);
static void sched_freq_tick_pelt(int cpu)
{
- unsigned long cpu_utilization =
capacity_max
;
+ unsigned long cpu_utilization =
boosted_cpu_util(cpu)
;
unsigned long capacity_curr = capacity_curr_of(cpu);
struct sched_capacity_reqs *scr;