aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 5976ca579d3e..e4c0ddd3db8e 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -564,6 +564,8 @@ void resched_task(struct task_struct *p)
564 564
565 if (set_nr_and_not_polling(p)) 565 if (set_nr_and_not_polling(p))
566 smp_send_reschedule(cpu); 566 smp_send_reschedule(cpu);
567 else
568 trace_sched_wake_idle_without_ipi(cpu);
567} 569}
568 570
569void resched_cpu(int cpu) 571void resched_cpu(int cpu)
@@ -647,6 +649,8 @@ static void wake_up_idle_cpu(int cpu)
647 smp_mb(); 649 smp_mb();
648 if (!tsk_is_polling(rq->idle)) 650 if (!tsk_is_polling(rq->idle))
649 smp_send_reschedule(cpu); 651 smp_send_reschedule(cpu);
652 else
653 trace_sched_wake_idle_without_ipi(cpu);
650} 654}
651 655
652static bool wake_up_full_nohz_cpu(int cpu) 656static bool wake_up_full_nohz_cpu(int cpu)