Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751086AbVJSPLM (ORCPT ); Wed, 19 Oct 2005 11:11:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751085AbVJSPLM (ORCPT ); Wed, 19 Oct 2005 11:11:12 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:51420 "EHLO mx2.mail.elte.hu") by vger.kernel.org with ESMTP id S1751083AbVJSPLK (ORCPT ); Wed, 19 Oct 2005 11:11:10 -0400 Date: Wed, 19 Oct 2005 17:11:38 +0200 From: Ingo Molnar To: Steven Rostedt Cc: Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: Ktimer / -rt9 (+custom) monotonic_clock going backwards. Message-ID: <20051019151138.GA7739@elte.hu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-ELTE-SpamScore: 0.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=0.0 required=5.9 tests=AWL autolearn=disabled SpamAssassin version=3.0.4 0.0 AWL AWL: From: address is in the auto white-list X-ELTE-VirusStatus: clean Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 864 Lines: 24 * 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? should be monotone - the latest -rt kernels include a debugging check for the monotonicity of do_get_ktime_mono(). 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/