Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751089AbVJSPVo (ORCPT ); Wed, 19 Oct 2005 11:21:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751090AbVJSPVo (ORCPT ); Wed, 19 Oct 2005 11:21:44 -0400 Received: from gateway-1237.mvista.com ([12.44.186.158]:17144 "EHLO dhcp153.mvista.com") by vger.kernel.org with ESMTP id S1751089AbVJSPVo (ORCPT ); Wed, 19 Oct 2005 11:21:44 -0400 Date: Wed, 19 Oct 2005 08:21:08 -0700 (PDT) From: Daniel Walker To: Steven Rostedt cc: Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: Ktimer / -rt9 (+custom) monotonic_clock going backwards. In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 760 Lines: 22 On Wed, 19 Oct 2005, Steven Rostedt wrote: > > Hi Thomas, > > I switched my custom kernel timer to use the ktimers with the prio of -1 > as you mentioned to me offline. I set up the timer to be monotonic and > have a requirement that the returned time is always greater or equal to > the last time returned from do_get_ktime_mono. > > Now here's the results that I got between two calls of do_get_ktime_mono > > 358.069795728 secs then later 355.981483177. Should this ever happen? Are you running NTP ? Daniel - 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/