diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 729e7fc7634b717a3861416db1791da9a5a95a9c..08746cc123703172e3df2fa0eb25c9c18f8e00f5 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2165,8 +2165,8 @@ void scheduler_tick(void) raw_spin_lock(&rq->lock); update_rq_clock(rq); - update_cpu_load_active(rq); curr->sched_class->task_tick(rq, curr, 0); + update_cpu_load_active(rq); raw_spin_unlock(&rq->lock); perf_event_task_tick();