Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 18 Oct 2002 14:21:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 18 Oct 2002 14:21:41 -0400 Received: from gans.physik3.uni-rostock.de ([139.30.44.2]:11654 "EHLO gans.physik3.uni-rostock.de") by vger.kernel.org with ESMTP id ; Fri, 18 Oct 2002 14:21:40 -0400 Date: Fri, 18 Oct 2002 20:27:38 +0200 (CEST) From: Tim Schmielau To: Robert Love cc: lkml Subject: Re: [PATCH] 2.4: variable HZ In-Reply-To: <1034661791.10843.9.camel@phantasy> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 942 Lines: 27 On 15 Oct 2002, Robert Love wrote: > I backported the jiffies_to_clock_t() code from 2.5 to 2.4, mostly just > for fun. ... > Oh, and I did not backport 64-bit jiffies yet. If you would, how would you call the analogous function for 64 bit values? And the type it returns? The patches to make the kernel interfaces use the 64 bit jiffies value sit in Davej's tree since around 2.5.20-dj3, just waiting for the answer to these questions. jiffies_64_to_clock_t_64() seems a bit lengthy. My current personal favourite would be jiffies_64_to_user_HZ(), just returning an u64, so that we don't keep on inventing silly types that get used just a very few times. Just my 0.02 euro, though. Tim - 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/