Re: Long timeout when booting >= 2.6.38

From: Christian Hoffmann
Date: Sun May 15 2011 - 16:11:21 EST



Thanks, can you please add the following patch and generate another
trace ?

Thanks,

Thomas

--- linux-2.6.orig/kernel/timer.c
+++ linux-2.6/kernel/timer.c
@@ -1268,11 +1268,14 @@ unsigned long get_next_timer_interrupt(u
if (cpu_is_offline(smp_processor_id()))
return now + NEXT_TIMER_MAX_DELTA;
spin_lock(&base->lock);
+ trace_printk("nx: %lx tj: %lx\n", base->next_timer, base->timer_jiffies);
if (time_before_eq(base->next_timer, base->timer_jiffies))
base->next_timer = __next_timer_interrupt(base);
expires = base->next_timer;
spin_unlock(&base->lock);

+ trace_printk("ex: %lx nw: %lx\n", expires, now);
+
if (time_before_eq(expires, now))
return now;


Hi,

new trace:
http://dl.dropbox.com/u/21820416/traceing2.log.bz2

Sorry for delay.

Regards,
Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/