lkml.org 
[lkml]   [2005]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.6.14-rc5-rt5 - softirq-timer/0/3[CPU#0]: BUG in ktime_get at kernel/ktimers.c:103
From
Date
On Mon, 2005-10-24 at 20:13 +0200, Ingo Molnar wrote:
> * Steven Rostedt <rostedt@goodmis.org> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-24 20:42    [W:0.189 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site