From owner-freebsd-arch@FreeBSD.ORG Wed Nov 15 09:04:19 2006 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31B7E16A416 for ; Wed, 15 Nov 2006 09:04:19 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44B0643D4C for ; Wed, 15 Nov 2006 09:04:16 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 75078170C1; Wed, 15 Nov 2006 09:04:14 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.8/8.13.8) with ESMTP id kAF94CWC015432; Wed, 15 Nov 2006 09:04:13 GMT (envelope-from phk@critter.freebsd.dk) To: Peter Jeremy From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 15 Nov 2006 19:40:25 +1100." <20061115084025.GA914@turion.vk2pj.dyndns.org> Date: Wed, 15 Nov 2006 09:04:12 +0000 Message-ID: <15431.1163581452@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: arch@freebsd.org Subject: Re: a proposed callout API X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2006 09:04:19 -0000 In message <20061115084025.GA914@turion.vk2pj.dyndns.org>, Peter Jeremy writes: >On Mon, 2006-Nov-13 21:38:21 +0000, Poul-Henning Kamp wrote: >>The other thing is that covering the entire range from hour long >>callouts to nanosecond callouts would require a 64 bit value or >>a tricky pseudo-FP encoding. By splitting them in two classes, >>I can use two different 31 bit encodings separated by the top bit. > >This sounds like a pseudo-FP encoding with a very small exponent and a >relatively large mantissa :-) Well, yes... :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.