lkml.org 
[lkml]   [2005]   [Oct]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 20 Oct 2005 08:56:20 +0200
FromIngo Molnar <>
SubjectRe: Ktimer / -rt9 (+custom) monotonic_clock going backwards.
* Steven Rostedt <rostedt@goodmis.org> wrote:

> > should be monotone - the latest -rt kernels include a debugging check
> > for the monotonicity of do_get_ktime_mono().
> 
> Hi Ingo,
> 
> Hmm, I think this will help in that debugging check :-)

> +	per_cpu(prev_mono_time, cpu) = now;
>  	return now;
>  }

*blush*, applied.

I was already wondering a bit why that check never triggered for anyone.  
It is easy to have a non-monotonic clock (there's lots of crappy hw and 
the gettimeofday code has to work hard) and the effects of time warps 
are subtle, if noticeable at all, so i expected some detections.

i have released -rt13 with another change: the other timer warning is 
only printed once. (a steady stream of messages is not helpful)

	Ingo
-
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-20 06:59    [from the cache]
©2003-2008