From: Juri Lelli Date: Fri, 11 Dec 2015 11:58:05 +0000 (+0000) Subject: fixup! sched/fair: jump to max OPP when crossing UP threshold X-Git-Tag: firefly_0821_release~2507^2~19 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b1d147f7a93900b6f93b4dc1c927b638fc0b40f1;p=firefly-linux-kernel-4.4.55.git fixup! sched/fair: jump to max OPP when crossing UP threshold Signed-off-by: Juri Lelli --- diff --git a/kernel/sched/core.c b/kernel/sched/core.c index d60a5feb4f48..b37b3b5ae63e 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2910,6 +2910,7 @@ void scheduler_tick(void) curr->sched_class->task_tick(rq, curr, 0); update_cpu_load_active(rq); calc_global_load_tick(rq); + sched_freq_tick(cpu); raw_spin_unlock(&rq->lock); perf_event_task_tick(); @@ -2919,8 +2920,6 @@ void scheduler_tick(void) trigger_load_balance(rq); #endif rq_last_tick_reset(rq); - - sched_freq_tick(cpu); } #ifdef CONFIG_NO_HZ_FULL