From: Johnlay Park Date: Tue, 12 Jun 2018 11:03:25 +0000 (+0900) Subject: sched: frt: Add the rt_rq load update. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8a2b4623f8b8bbb106d967362757015dc231de6b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git sched: frt: Add the rt_rq load update. Change-Id: I676ecfa2aec75c46144f78fc90981ff43c8833c0 Signed-off-by: Johnlay Park --- diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index e545f01979c6..00c2e909c39d 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -8772,6 +8772,7 @@ static void update_blocked_averages(int cpu) if (cfs_rq_is_decayed(cfs_rq)) list_del_leaf_cfs_rq(cfs_rq); } + update_rt_rq_load_avg(rq_clock_task(rq), cpu, &rq->rt, 0); #ifdef CONFIG_NO_HZ_COMMON rq->last_blocked_load_update_tick = jiffies; #endif @@ -8834,6 +8835,7 @@ static inline void update_blocked_averages(int cpu) rq_lock_irqsave(rq, &rf); update_rq_clock(rq); update_cfs_rq_load_avg(cfs_rq_clock_task(cfs_rq), cfs_rq); + update_rt_rq_load_avg(rq_clock_task(rq), cpu, &rq->rt, 0); #ifdef CONFIG_NO_HZ_COMMON rq->last_blocked_load_update_tick = jiffies; #endif