Merge tag 'for-f2fs-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk...
[deliverable/linux.git] / kernel / sched / rt.c
index 56247132948799036fc4cbcc0c3d7bfcb778bcc5..c41ea7ac1764b831fd015531c3d8f40d445bf8ae 100644 (file)
@@ -953,6 +953,10 @@ static void update_curr_rt(struct rq *rq)
        if (curr->sched_class != &rt_sched_class)
                return;
 
+       /* Kick cpufreq (see the comment in linux/cpufreq.h). */
+       if (cpu_of(rq) == smp_processor_id())
+               cpufreq_trigger_update(rq_clock(rq));
+
        delta_exec = rq_clock_task(rq) - curr->se.exec_start;
        if (unlikely((s64)delta_exec <= 0))
                return;
This page took 0.025211 seconds and 5 git commands to generate.