From d66d0f05f57e052590d0b2020240f24f377aa9d9 Mon Sep 17 00:00:00 2001 From: Bjoern Brandenburg Date: Mon, 1 Jul 2013 23:55:58 +0200 Subject: Don't trigger load balancer in scheduler tick for LITMUS^RT --- kernel/sched/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) #ifdef CONFIG_SMP rq->idle_balance = idle_cpu(cpu); - trigger_load_balance(rq, cpu); + if (!is_realtime(current)) + trigger_load_balance(rq, cpu); #endif rq_last_tick_reset(rq); -- cgit v1.2.2