Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967331AbWKZIQl (ORCPT ); Sun, 26 Nov 2006 03:16:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S967332AbWKZIQl (ORCPT ); Sun, 26 Nov 2006 03:16:41 -0500 Received: from 70-91-206-233-BusName-SFBA.hfc.comcastbusiness.net ([70.91.206.233]:22682 "EHLO saville.com") by vger.kernel.org with ESMTP id S967331AbWKZIQk (ORCPT ); Sun, 26 Nov 2006 03:16:40 -0500 Message-ID: <45694D6F.60100@saville.com> Date: Sun, 26 Nov 2006 00:16:47 -0800 From: Wink Saville User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Robert Hancock CC: linux-kernel , Arjan van de Ven Subject: Re: [patch] x86: unify/rewrite SMP TSC sync code References: <4569404E.20402@shaw.ca> In-Reply-To: <4569404E.20402@shaw.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 688 Lines: 17 Robert Hancock wrote: >>>> Actually, we need to ask the CPU/System makers to provide a system wide > Generally user mode code should just be using gettimeofday. When the TSC > is usable as a sane time source, the kernel will use it. When it's not, > it will use something else like the HPET, ACPI PM Timer or (at last > resort) the PIT, in increasing degrees of slowness. > But gettimeofday is much too expensive compared to RDTSC. Wink - 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/