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 ad6ba364fc68..1be8a352f32e 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -2804,7 +2804,8 @@ void scheduler_tick(void)
2804 2804
2805#ifdef CONFIG_SMP 2805#ifdef CONFIG_SMP
2806 rq->idle_balance = idle_cpu(cpu); 2806 rq->idle_balance = idle_cpu(cpu);
2807 trigger_load_balance(rq, cpu); 2807 if (!is_realtime(current))
2808 trigger_load_balance(rq, cpu);
2808#endif 2809#endif
2809 rq_last_tick_reset(rq); 2810 rq_last_tick_reset(rq);
2810 2811