Re: Ktimer / -rt9 (+custom) monotonic_clock going backwards.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Steven Rostedt <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux