Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932544AbXK2SZX (ORCPT ); Thu, 29 Nov 2007 13:25:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932224AbXK2SZH (ORCPT ); Thu, 29 Nov 2007 13:25:07 -0500 Received: from mx1.redhat.com ([66.187.233.31]:47852 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932068AbXK2SZF (ORCPT ); Thu, 29 Nov 2007 13:25:05 -0500 Date: Thu, 29 Nov 2007 13:24:02 -0500 From: Dave Jones To: Stefano Brivio Cc: Ingo Molnar , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Michael Buesch , Thomas Gleixner , Andrew Morton , Len Brown Subject: Re: [BUG] jiffies counter leaps in 2.6.24-rc3 Message-ID: <20071129182402.GE12481@redhat.com> Mail-Followup-To: Dave Jones , Stefano Brivio , Ingo Molnar , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Michael Buesch , Thomas Gleixner , Andrew Morton , Len Brown References: <20071124175112.58193424@morte> <200711241948.58881.rjw@sisk.pl> <20071124194635.58f5a44b@morte> <200711242031.26134.rjw@sisk.pl> <20071129095034.24b3fc59@morte> <20071129103511.GD10577@elte.hu> <20071129174548.GC12481@redhat.com> <20071129185743.46daa8ad@morte> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071129185743.46daa8ad@morte> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1226 Lines: 35 On Thu, Nov 29, 2007 at 06:57:43PM +0100, Stefano Brivio wrote: > > adjust_jiffies() always gets called on a speed transition. I'm wondering > > if perhaps we shouldn't do that if we're using something other than > > the tsc for timekeeping. > > I gave other clocksources a try: > > morte st3 # cat /sys/devices/system/clocksource/clocksource0/available_clocksource > acpi_pm pit jiffies tsc > > Setting tsc as current clocksource: > morte st3 # echo tsc > /sys/devices/system/clocksource/clocksource0/current_clocksource > [13367.729060] Time: tsc clocksource has been installed. > didn't fix anything. Other weirdness here: it looks like it affects my > typematic delay and repeat rate. *grumble* > Setting jiffies or pit as current clocksource didn't fix anything, but at > least it doesn't cause anything bad. > > Do you want me to comment out adjust_jiffies() and see what happens? Just for laughs, why not. Dave -- http://www.codemonkey.org.uk - 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/