aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2013-07-01 17:55:58 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2014-06-07 05:31:03 -0400
commitd66d0f05f57e052590d0b2020240f24f377aa9d9 (patch)
treeba7705a3f53dce4393712f757c39b217e290920f
parentdd0b15011310c3713d0c340a541ad4768c0a45a3 (diff)
Don't trigger load balancer in scheduler tick for LITMUS^RT
-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