Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756860AbYCUWK2 (ORCPT ); Fri, 21 Mar 2008 18:10:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751522AbYCUWKS (ORCPT ); Fri, 21 Mar 2008 18:10:18 -0400 Received: from www.tglx.de ([62.245.132.106]:41198 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751412AbYCUWKR (ORCPT ); Fri, 21 Mar 2008 18:10:17 -0400 Date: Fri, 21 Mar 2008 23:09:32 +0100 (CET) From: Thomas Gleixner To: Gabriel C cc: Gabriel C , "Rafael J. Wysocki" , LKML , Adrian Bunk , Andrew Morton , Linus Torvalds , Natalie Protasevich , andi-bz@firstfloor.org, Ingo Molnar Subject: Re: 2.6.25-rc5-git6: Reported regressions from 2.6.24 In-Reply-To: <47E42FAB.6000906@frugalware.org> Message-ID: References: <200803170018.52663.rjw@sisk.pl> <47DDB969.1060200@googlemail.com> <47DEB65A.9080907@googlemail.com> <47DF3E8B.6040502@googlemail.com> <47E3D322.1090902@googlemail.com> <47E3E66F.9040006@frugalware.org> <47E3FA4F.9060509@frugalware.org> <47E40B1C.30407@frugalware.org> <47E420C5.1050407@frugalware.org> <47E42FAB.6000906@frugalware.org> User-Agent: Alpine 1.00 (LFD 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1352 Lines: 36 On Fri, 21 Mar 2008, Gabriel C wrote: > > So the rotating watchdog triggers for a yet to figure out reason. > > > > Oh, now that the pm timer seems to work again, can you try the following: > > > > apply the reverted patch again and let the box boot. At some point the > > TSC is marked unstable and is replaced by acpi_pm clocksource. > > > > What result does timewarp.c show in that situation ? > > Here it is , same kernel + Andi's patch : > > ./time-warp-test > 4 CPUs, running 4 parallel test-tasks. > checking for time-warps via: > - read time stamp counter (RDTSC) instruction (cycle resolution) > - gettimeofday (TOD) syscall (usec resolution) > - clock_gettime(CLOCK_MONOTONIC) syscall (nsec resolution) > > | 1.78 us, TSC-warps:0 | 19.27 us, TOD-warps:0 | 19.37 us, CLOCK-warps:0 Ok. So the watchdog trigger is a false positive. Thinking more about it, it looks like Andi's change triggers some hidden bug in the combination of NO_HZ and add_timer_on(), where the CPU on which the timer is added is likely in a long idle sleep. I look into this tomorrow. Thanks for testing tglx -- 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/