aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index a9c0920fe844..60592df6ec1b 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -2542,7 +2542,8 @@ void scheduler_tick(void)
2542 2542
2543#ifdef CONFIG_SMP 2543#ifdef CONFIG_SMP
2544 rq->idle_balance = idle_cpu(cpu); 2544 rq->idle_balance = idle_cpu(cpu);
2545 trigger_load_balance(rq); 2545 if (!is_realtime(current))
2546 trigger_load_balance(rq);
2546#endif 2547#endif
2547 rq_last_tick_reset(rq); 2548 rq_last_tick_reset(rq);
2548} 2549}