From owner-freebsd-current@FreeBSD.ORG Fri Feb 15 07:56:59 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9641B242; Fri, 15 Feb 2013 07:56:59 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 5C73393C; Fri, 15 Feb 2013 07:56:59 +0000 (UTC) Received: from kruse-124.4.ixsystems.com (drawbridge.ixsystems.com [206.40.55.65]) by elvis.mu.org (Postfix) with ESMTPSA id 538E01A3C1A; Thu, 14 Feb 2013 23:56:49 -0800 (PST) Message-ID: <511DEA46.5010509@mu.org> Date: Thu, 14 Feb 2013 23:56:54 -0800 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Davide Italiano Subject: Re: [RFC/RFT] calloutng References: <50CCAB99.4040308@FreeBSD.org> <50CE5B54.3050905@FreeBSD.org> <50D03173.9080904@FreeBSD.org> <20121225232126.GA47692@alchemy.franken.de> <50DB4EFE.2020600@FreeBSD.org> <20130106152313.GD26039@alchemy.franken.de> <50EBF921.2000304@FreeBSD.org> <20130113180940.GM26039@alchemy.franken.de> <50F30CAB.3000001@FreeBSD.org> <20130121095457.GL85306@alchemy.franken.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Motin , Marius Strobl , Poul-Henning Kamp , FreeBSD Current , freebsd-arch@freebsd.org, Luigi Rizzo X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2013 07:56:59 -0000 [ added Luigi Rizzo to thread ] On 2/11/13 12:26 PM, Davide Italiano wrote: > [trimmed old mails] > > Here's a new version of the patch: > http://people.freebsd.org/~davide/patches/calloutng-11022012.diff > > Significant bits changed (after wider discussion and suggestion by phk@): > - Introduction of the new sbintime_t type (32.32 fixed point) with the > respective conversion (sbintime2bintime, sbintime2timeval etc...) > - switch from 64.64 (struct bintime) format to measure time to sbintime_t > - Use sbintime_t to represent expected sleep time instead of measuring > it in microseconds (cpu_idle_acpi(), cpu_idle_spin() ...). Luigi and I discussed this at BAFUG tonight and he expressed an interest in shepherding the code in at this point. Luigi, can you reiterate any points that still remain before we integrate this code? thank you, -Alfred