Re: 2.6.14-rc5-rt5 - softirq-timer/0/3[CPU#0]: BUG in ktime_get atkernel/ktimers.c:103
From: Steven Rostedt
Date: Mon Oct 24 2005 - 13:40:35 EST
On Mon, 2005-10-24 at 20:13 +0200, Ingo Molnar wrote:
> * Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> >
> > Thomas, this hasn't been done yet, has it?
>
> not yet, but it's in progress. Meanwhile i increased the number of times
> the warning will be printed per bootup (from 1 to 3), so that if a time
> warp happens outside of that clock-switch case it should be printed too.
>
Unfortunately, the problem doesn't go away until the clocks are
eventually updated. So as Mark got, we see three outputs for every time
this happens until the now catches up with the prev.
Perhaps we should also add another update of prev?
-- Steve
Index: kernels/linux-2.6.14-rc5-rt5/kernel/ktimers.c
===================================================================
--- kernels.orig/linux-2.6.14-rc5-rt5/kernel/ktimers.c 2005-10-24 14:34:32.000000000 -0400
+++ kernels/linux-2.6.14-rc5-rt5/kernel/ktimers.c 2005-10-24 14:34:53.000000000 -0400
@@ -102,6 +102,7 @@
ktime_to_ns(prev), ktime_to_ns(now));
WARN_ON(1);
}
+ per_cpu(prev_mono_time, cpu) = now;
return prev;
}
per_cpu(prev_mono_time, cpu) = now;
-
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/