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-Url: https://git.stricted.de/?a=commitdiff_plain;h=08d1cfd7c9193272e6caa100cbc5ef875cb5543c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 ac3d9af477f4..151ed9c62ad2 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