]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/timer.c
nohz: Wake up full dynticks CPUs when a timer gets enqueued
[karo-tx-linux.git] / kernel / timer.c
index dbf7a78a1ef14a0200a1a28835ebb292be2aae4c..4e3040b40d162834e471fe1a1cb8faa6558b8e32 100644 (file)
@@ -930,14 +930,14 @@ void add_timer_on(struct timer_list *timer, int cpu)
        debug_activate(timer, timer->expires);
        internal_add_timer(base, timer);
        /*
-        * Check whether the other CPU is idle and needs to be
-        * triggered to reevaluate the timer wheel when nohz is
-        * active. We are protected against the other CPU fiddling
+        * Check whether the other CPU is in dynticks mode and needs
+        * to be triggered to reevaluate the timer wheel.
+        * We are protected against the other CPU fiddling
         * with the timer by holding the timer base lock. This also
-        * makes sure that a CPU on the way to idle can not evaluate
-        * the timer wheel.
+        * makes sure that a CPU on the way to stop its tick can not
+        * evaluate the timer wheel.
         */
-       wake_up_idle_cpu(cpu);
+       wake_up_nohz_cpu(cpu);
        spin_unlock_irqrestore(&base->lock, flags);
 }
 EXPORT_SYMBOL_GPL(add_timer_on);