From owner-cvs-src@FreeBSD.ORG Sat Dec 17 19:45:16 2005 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D10016A41F; Sat, 17 Dec 2005 19:45:16 +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 4A0DA43D77; Sat, 17 Dec 2005 19:45:15 +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 4018220 for multiple; Sat, 17 Dec 2005 14:43:13 -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 jBHJj6uV000370; Sat, 17 Dec 2005 14:45:06 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: src-committers@freebsd.org Date: Sat, 17 Dec 2005 14:40:22 -0500 User-Agent: KMail/1.8.3 References: <200512162211.jBGMBqRT009057@repoman.freebsd.org> In-Reply-To: <200512162211.jBGMBqRT009057@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200512171440.24029.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1211/Fri Dec 16 17:51:35 2005 on server.baldwin.cx X-Virus-Status: Clean 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, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_clock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2005 19:45:16 -0000 On Friday 16 December 2005 05:11 pm, John Baldwin wrote: > jhb 2005-12-16 22:11:52 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_clock.c > Log: > - Use uintfptr_t rather than int for the kernel profiling index (though > it really should be a fptrdiff_t if we had that) in profclock(). > - Don't try to profile kernel pc's that are >=3D the kernel lowpc to av= oid > underflows when computing a profiling index. s/Don't/Only/ oops. > - Use the PC_TO_I() macro to compute the kernel profiling index rather > than doing it inline. =2D-=20 John Baldwin =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org