From 8a2b4623f8b8bbb106d967362757015dc231de6b Mon Sep 17 00:00:00 2001 From: Johnlay Park Date: Tue, 12 Jun 2018 20:03:25 +0900 Subject: [PATCH] sched: frt: Add the rt_rq load update. Change-Id: I676ecfa2aec75c46144f78fc90981ff43c8833c0 Signed-off-by: Johnlay Park --- kernel/sched/fair.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1