diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 935f8e8e6160..baaca61bc3a3 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -2661,7 +2661,12 @@ static void ttwu_queue(struct task_struct *p, int cpu) | |||
2661 | struct rq *rq = cpu_rq(cpu); | 2661 | struct rq *rq = cpu_rq(cpu); |
2662 | 2662 | ||
2663 | #if defined(CONFIG_SMP) | 2663 | #if defined(CONFIG_SMP) |
2664 | if (sched_feat(TTWU_QUEUE) && cpu != smp_processor_id()) { | 2664 | /* |
2665 | * LITMUS^RT: whether to send an IPI to the remote CPU | ||
2666 | * is plugin specific. | ||
2667 | */ | ||
2668 | if (!is_realtime(p) && | ||
2669 | sched_feat(TTWU_QUEUE) && cpu != smp_processor_id()) { | ||
2665 | sched_clock_cpu(cpu); /* sync clocks x-cpu */ | 2670 | sched_clock_cpu(cpu); /* sync clocks x-cpu */ |
2666 | ttwu_queue_remote(p, cpu); | 2671 | ttwu_queue_remote(p, cpu); |
2667 | return; | 2672 | return; |