From owner-cvs-all@FreeBSD.ORG Mon Nov 28 14:09:38 2005 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7327116A423; Mon, 28 Nov 2005 14:09:38 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE10043D60; Mon, 28 Nov 2005 14:09:36 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 2732008 for multiple; Mon, 28 Nov 2005 09:09:46 -0500 Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jASE9Vo0057517; Mon, 28 Nov 2005 09:09:32 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Norikatsu Shigemura Date: Mon, 28 Nov 2005 08:45:34 -0500 User-Agent: KMail/1.8.3 References: <200511270055.jAR0tIkF032480@repoman.freebsd.org> <20051127131838.F81764@fledge.watson.org> <20051127223509.8913eafe.nork@FreeBSD.org> In-Reply-To: <20051127223509.8913eafe.nork@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200511280845.37903.jhb@freebsd.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Robert Watson , cvs-all@freebsd.org, bde@zeta.org.au Subject: Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2005 14:09:38 -0000 On Sunday 27 November 2005 08:35 am, Norikatsu Shigemura wrote: > On Sun, 27 Nov 2005 13:23:00 +0000 (GMT) > > Robert Watson wrote: > > > time(3) should use the environment variable too, since the fast versi= on > > > gives a value that is both imprecise and wrong. It inherits bugs from > > > the kernel's time_second variable. time_second is not the current ti= me > > > truncated, but is the (current time less up to about tc_tick/HZ) > > > truncated. It lags the current time by more than 1 second for up to > > > about tc_tick/HZ seconds before every rollover of the correct truncat= ed > > > time. > > > > Yes -- this is a mistake in the current library wrapper. All interfaces > > modified to be "fast" or "precise" should be controlled by the > > environmental variable so that testing is more consistent (i.e., other > > than wrapping costs, the non-configured version should behave identical= ly > > to the non-wrapped version). > > I think that to use libmap.conf(5) is a best solution:-), if > someone want to use low resolution version. I didn't confirm > following setting: > > # All binaries use low resolution version on /usr/local/bin/ > [/usr/local/bin/] > libc.so.6 libwrapper.so.1 > > Of cource, you can use mysql only, and no more controll by > environment variable. Erm, libwrapper only implements 2 of libc's functions, it's not a complete= =20 replacement. :) =2D-=20 John Baldwin =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org