Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946424AbWKJLMq (ORCPT ); Fri, 10 Nov 2006 06:12:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946478AbWKJLMq (ORCPT ); Fri, 10 Nov 2006 06:12:46 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:31425 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S1946424AbWKJLMp (ORCPT ); Fri, 10 Nov 2006 06:12:45 -0500 Date: Fri, 10 Nov 2006 12:12:31 +0100 From: Pavel Machek To: Ingo Molnar Cc: Andrew Morton , tglx@linutronix.de, Andi Kleen , john stultz , LKML , Len Brown , Arjan van de Ven , Roman Zippel Subject: Re: [patch 13/19] GTOD: Mark TSC unusable for highres timers Message-ID: <20061110111231.GB3291@elf.ucw.cz> References: <20061109233030.915859000@cruncher.tec.linutronix.de> <20061109233035.569684000@cruncher.tec.linutronix.de> <1163121045.836.69.camel@localhost> <200611100610.13957.ak@suse.de> <1163146206.8335.183.camel@localhost.localdomain> <20061110005020.4538e095.akpm@osdl.org> <20061110085728.GA14620@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061110085728.GA14620@elte.hu> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 786 Lines: 19 Hi! > > If so, could that function use the PIT/pmtimer/etc for working out if > > the TSC is bust, rather than directly using jiffies? > > there's no realiable way to figure out the TSC is bust: some CPUs have a > slight 'skew' between cores for example. On some systems the TSC might > skew between sockets. A CPU might break its TSC only once some But we could still do a whitelist? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - 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/