fixup! sched/fair: jump to max OPP when crossing UP threshold
authorJuri Lelli <juri.lelli@arm.com>
Fri, 11 Dec 2015 11:58:05 +0000 (11:58 +0000)
committerLeo Yan <leo.yan@linaro.org>
Tue, 10 May 2016 08:53:23 +0000 (16:53 +0800)
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
kernel/sched/core.c

index ac3d9af477f49efb8bb53e29f308545ec53b9360..151ed9c62ad2e79a7890f6243ceb8c02262bf3b0 100644 (file)
@@ -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