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=0fc5cd45537f69d81041c84f0d4458f05b05a869;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 30996c0860db..c2cb290059fc 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -9002,6 +9002,7 @@ static void update_blocked_averages(int cpu) if (se && !skip_blocked_update(se)) update_load_avg(se, 0); } + 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 @@ -9064,6 +9065,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