From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 2 05:56:10 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04DBE10656A7; Thu, 2 Sep 2010 05:56:10 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2001:470:9a47::1]) by mx1.freebsd.org (Postfix) with ESMTP id BA0838FC21; Thu, 2 Sep 2010 05:56:09 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [IPv6:::1]) by acme.spoerlein.net (8.14.4/8.14.4) with ESMTP id o825tW17019884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Sep 2010 07:55:33 +0200 (CEST) (envelope-from uqs@freebsd.org) Received: (from uqs@localhost) by acme.spoerlein.net (8.14.4/8.14.4/Submit) id o825tWQN019883; Thu, 2 Sep 2010 07:55:32 +0200 (CEST) (envelope-from uqs@freebsd.org) Date: Thu, 2 Sep 2010 07:55:32 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Xin LI Message-ID: <20100902055532.GX3523@acme.spoerlein.net> Mail-Followup-To: Xin LI , Alexander Best , freebsd-hackers@freebsd.org References: <20100901230338.GA75974@freebsd.org> <4C7EE07F.7000803@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C7EE07F.7000803@delphij.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Alexander Best , freebsd-hackers@freebsd.org Subject: Re: porting cputick2usec() to userland X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 05:56:10 -0000 On Wed, 01.09.2010 at 16:23:43 -0700, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 2010/09/01 16:03, Alexander Best wrote: > > hi there, > > > > there was a thread some time ago related to porting cputick2usec() to > > userland [1]. > > > > however it seems the idea got lost at some point. i remember uqs working on an > > implementation, but can't remember the details. > > > > a few people including uqs and jhb liked the idea. any comments on that? > > I think uqs@ actually have a patch but can't seem to access his git > repository anymore for some reason :-/ You can see the diff at https://www.spoerlein.net/cgit/cgit.cgi/freebsd.work/commit/?h=warns&id=c3b4cf79a8f39ad965d023718073a006cc15f340 (also note the parent commit) I didn't have time to test and finish the change though, if someone wants to test/finish/commit this, please go ahead. It might take me still a while to get to it. Regards, Uli