From: Daeyeong Lee Date: Wed, 23 May 2018 06:10:24 +0000 (+0900) Subject: sched: ems: ontime: Change new entity's initial ontime load policy. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=539fee0d36e891a7db5201f7598eb3b265dd9aa3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git sched: ems: ontime: Change new entity's initial ontime load policy. Change-Id: I4688cd1fb459ca74092b386356843b37d361b07a Signed-off-by: Daeyeong Lee --- diff --git a/kernel/sched/ems/ontime.c b/kernel/sched/ems/ontime.c index 8fc47b248f17..9797f08b80d8 100644 --- 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;