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~176^2~250 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=111a0376ad413bfe37ce2d090d1ba81b0daf468e;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 573dcb62b3b3..4d388d070a2e 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