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:
5fa2fa4
)
cpufreq: schedutil: tune default rate limit from Pixel
author
Julian Liu
<wlootlxt123@gmail.com>
Thu, 24 Oct 2019 21:04:58 +0000
(
05:04
+0800)
committer
0ranko0P
<ranko0p@outlook.com>
Tue, 24 Dec 2019 20:42:42 +0000
(
04:42
+0800)
kernel/sched/cpufreq_schedutil.c
patch
|
blob
|
history
diff --git
a/kernel/sched/cpufreq_schedutil.c
b/kernel/sched/cpufreq_schedutil.c
index
6c84b4d
..
875db4a
100644
(file)
--- a/
kernel/sched/cpufreq_schedutil.c
+++ b/
kernel/sched/cpufreq_schedutil.c
@@
-666,8
+666,8
@@
static int sugov_init(struct cpufreq_policy *policy)
} else {
unsigned int lat;
- tunables->up_rate_limit_us = LATENCY_MULTIPLIER;
- tunables->down_rate_limit_us = LATENCY_MULTIPLIER;
+ tunables->up_rate_limit_us = LATENCY_MULTIPLIER
/ 2
;
+ tunables->down_rate_limit_us = LATENCY_MULTIPLIER
* 20
;
lat = policy->cpuinfo.transition_latency / NSEC_PER_USEC;
if (lat) {
tunables->up_rate_limit_us *= lat;