aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2015-08-09 07:18:53 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2015-08-09 07:20:31 -0400
commita00f41be3fa1bf6cf82e6becfb1873ad83a513d3 (patch)
tree4cbdc3d8543d3a24ab8873c92fd2150da3e7bed8
parentdfbc9a0ee19aaf08ebf2f620db43098f108fbfb2 (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 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}