]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
nohz: disable tick_nohz_kick_tick() for now
authorThomas Gleixner <tglx@linutronix.de>
Mon, 10 Nov 2008 12:20:23 +0000 (13:20 +0100)
committerThomas Gleixner <tglx@apollo.(none)>
Mon, 10 Nov 2008 21:39:27 +0000 (22:39 +0100)
Impact: nohz powersavings and wakeup regression

commit fb02fbc14d17837b4b7b02dbb36142c16a7bf208 (NOHZ: restart tick
device from irq_enter()) causes a serious wakeup regression.

While the patch is correct it does not take into account that spurious
wakeups happen on x86. A fix for this issue is available, but we just
revert to the .27 behaviour and let long running softirqs screw
themself.

Disable it for now.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/tick-sched.c

index 5bbb1044f8473ff98bd3fdfe2c93a1c0798ed8e7..342fc9ccab46d5132aae1c58b1fbce0d02a2feaf 100644 (file)
@@ -568,6 +568,9 @@ static void tick_nohz_switch_to_nohz(void)
  */
 static void tick_nohz_kick_tick(int cpu)
 {
+#if 0
+       /* Switch back to 2.6.27 behaviour */
+
        struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu);
        ktime_t delta, now;
 
@@ -584,6 +587,7 @@ static void tick_nohz_kick_tick(int cpu)
                return;
 
        tick_nohz_restart(ts, now);
+#endif
 }
 
 #else