Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261466AbVDUPy5 (ORCPT ); Thu, 21 Apr 2005 11:54:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261473AbVDUPy5 (ORCPT ); Thu, 21 Apr 2005 11:54:57 -0400 Received: from zcars04f.nortelnetworks.com ([47.129.242.57]:41154 "EHLO zcars04f.nortelnetworks.com") by vger.kernel.org with ESMTP id S261466AbVDUPy4 (ORCPT ); Thu, 21 Apr 2005 11:54:56 -0400 Message-ID: <4267CC7C.10907@nortel.com> Date: Thu, 21 Apr 2005 09:53:32 -0600 X-Sybari-Space: 00000000 00000000 00000000 00000000 From: Chris Friesen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Linus Torvalds CC: Steven Rostedt , Russell King , jdavis@accessline.com, Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Bad rounding in timeval_to_jiffies [was: Re: Odd Timer behavior in 2.6 vs 2.4 (1 extra tick)] References: <1114052315.5058.13.camel@localhost.localdomain> <1114054816.5996.10.camel@localhost.localdomain> <20050421095109.A25431@flint.arm.linux.org.uk> <1114080708.5996.16.camel@localhost.localdomain> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 644 Lines: 16 Linus Torvalds wrote: > If you calculate the expected timeout from the time-of-day in the caller, > your drift not only goes away, but you'll actually be able to handle > things like "oops, the machine is under load so I missed an event". Does mainline have a high precision monotonic wallclock that is not affected by time-of-day changes? Something like "nano/mico seconds since boot"? Chris - 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/