projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba2dbd7
)
sched: ems: ontime: Change new entity's initial ontime load policy.
author
Daeyeong Lee
<daeyeong.lee@samsung.com>
Wed, 23 May 2018 06:10:24 +0000
(15:10 +0900)
committer
lakkyung.jung
<lakkyung.jung@samsung.com>
Mon, 23 Jul 2018 05:58:51 +0000
(14:58 +0900)
Change-Id: I4688cd1fb459ca74092b386356843b37d361b07a
Signed-off-by: Daeyeong Lee <daeyeong.lee@samsung.com>
kernel/sched/ems/ontime.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched/ems/ontime.c
b/kernel/sched/ems/ontime.c
index 8fc47b248f1709ce27f1b1449806331c5f9bad03..9797f08b80d8581744f414b68aed6bf881a8ca30 100644
(file)
--- a/
kernel/sched/ems/ontime.c
+++ b/
kernel/sched/ems/ontime.c
@@
-650,8
+650,8
@@
void ontime_new_entity_load(struct task_struct *parent, struct sched_entity *se)
ontime = &se->ontime;
- ontime->avg.load_sum = ontime_of(parent)->avg.load_sum;
- ontime->avg.load_avg = ontime_of(parent)->avg.load_avg;
+ ontime->avg.load_sum = ontime_of(parent)->avg.load_sum
>> 1
;
+ ontime->avg.load_avg = ontime_of(parent)->avg.load_avg
>> 1
;
ontime->avg.period_contrib = 1023;
ontime->migrating = 0;