diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-07-01 17:55:58 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-08-07 03:47:01 -0400 |
commit | 1354972c878bf47165257269f19832aeb91d2e8e (patch) | |
tree | a4bb039749dfbc359749f72321ae8b9862a2fde4 | |
parent | 934b09c301dcb8c199de40fb1a086480d2b21e2b (diff) |
Don't trigger load balancer in scheduler tick for LITMUS^RT
-rw-r--r-- | kernel/sched/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index d2e37fb8c19e..c202f946f54f 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c | |||
@@ -2802,7 +2802,8 @@ void scheduler_tick(void) | |||
2802 | 2802 | ||
2803 | #ifdef CONFIG_SMP | 2803 | #ifdef CONFIG_SMP |
2804 | rq->idle_balance = idle_cpu(cpu); | 2804 | rq->idle_balance = idle_cpu(cpu); |
2805 | trigger_load_balance(rq, cpu); | 2805 | if (!is_realtime(current)) |
2806 | trigger_load_balance(rq, cpu); | ||
2806 | #endif | 2807 | #endif |
2807 | rq_last_tick_reset(rq); | 2808 | rq_last_tick_reset(rq); |
2808 | 2809 | ||