From owner-freebsd-arch@FreeBSD.ORG Fri Oct 1 15:14:39 2004 Return-Path: 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 1F13D16A4CF for ; Fri, 1 Oct 2004 15:14:39 +0000 (GMT) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id E041443D49 for ; Fri, 1 Oct 2004 15:14:38 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 6388 invoked from network); 1 Oct 2004 15:14:38 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 1 Oct 2004 15:14:38 -0000 Received: from [10.50.40.210] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i91FEYNi027393; Fri, 1 Oct 2004 11:14:35 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-arch@FreeBSD.org Date: Fri, 1 Oct 2004 11:14:42 -0400 User-Agent: KMail/1.6.2 References: <200410011102.43394.jhb@FreeBSD.org> In-Reply-To: <200410011102.43394.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200410011114.42446.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: arch@FreeBSD.org Subject: Re: [PATCH] Rework how we store process times in the kernel and deferring calcru() X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 15:14:39 -0000 On Friday 01 October 2004 11:02 am, John Baldwin wrote: > I'll commit this soonish unless there are any objections. The basic idea > is to store process times resource usage as raw data (i.e. as bintimes and > tick counts) for both process usage and child usage and only calculate the > timeval style times if they are explicitly asked for. This lets us avoid > always calling calcru() to calculate the timeval values in exit1() for > example. A more detailed listing of the changes follows: Sorry for the dupe. kmail crashed and I wasn't sure the first one had made it, esp. given that it came back up with a partial version of this e-mail (hence the two different endings). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org