Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262283AbVAZXSO (ORCPT ); Wed, 26 Jan 2005 18:18:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262475AbVAZXSH (ORCPT ); Wed, 26 Jan 2005 18:18:07 -0500 Received: from palrel12.hp.com ([156.153.255.237]:65431 "EHLO palrel12.hp.com") by vger.kernel.org with ESMTP id S262295AbVAZRv4 (ORCPT ); Wed, 26 Jan 2005 12:51:56 -0500 From: David Mosberger MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16887.55473.889558.825051@napali.hpl.hp.com> Date: Wed, 26 Jan 2005 09:51:45 -0800 To: Christoph Lameter Cc: Martin Schwidefsky , Benjamin Herrenschmidt , Andi Kleen , albert@users.sourceforge.net, Max Asbock , Anton Blanchard , Darren Hart , David Mosberger , "Darrick J. Wong" , George Anzinger , Patricia Gaughen , john stultz , keith maanthey , Chris McDermott , Dominik Brodowski , lkml , mahuja@us.ibm.com, Nishanth Aravamudan , Paul Mackerras , Tim Schmielau , Ulrich Windl Subject: Re: [RFC][PATCH] new timeofday arch specific hooks (v. A2) In-Reply-To: References: X-Mailer: VM 7.19 under Emacs 21.3.1 Reply-To: davidm@hpl.hp.com X-URL: http://www.hpl.hp.com/personal/David_Mosberger/ Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1069 Lines: 23 >>>>> On Wed, 26 Jan 2005 08:52:12 -0800 (PST), Christoph Lameter said: Christoph> On Wed, 26 Jan 2005, Martin Schwidefsky wrote: >> Why not add an if at the start of gettimeofday to check when the >> last ntp updates has been done and if it has been too long since >> the last time then call ntp_scale ? That way the update isn't >> done on every call to gettimeofday and we don't depend on the >> regular timer tick. Christoph> Because ia64 does not support calling arbitrary C Christoph> functions in fastcalls. However, it can fall back on a heavy-weight syscall easily. We already do that on a number of occasions, e.g., if we find a spinlock already taken. I think it would be OK to have gettimeofday occasionally fall back on the heavy-weight version to do NTP magic. --david - 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/