From owner-freebsd-arch@FreeBSD.ORG Thu Nov 11 03:32:53 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 582BE16A4CE for ; Thu, 11 Nov 2004 03:32:53 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBA6343D3F for ; Thu, 11 Nov 2004 03:32:52 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 1BDA665213 for ; Thu, 11 Nov 2004 03:32:51 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32586-04-2 for ; Thu, 11 Nov 2004 03:32:50 +0000 (GMT) Received: from empiric.dek.spc.org (dhcp120.icir.org [192.150.187.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 064D465219 for ; Thu, 11 Nov 2004 03:32:50 +0000 (GMT) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id D35646482; Wed, 10 Nov 2004 19:32:38 -0800 (PST) Date: Wed, 10 Nov 2004 19:32:38 -0800 From: Bruce M Simpson To: arch@FreeBSD.ORG Message-ID: <20041111033238.GA723@empiric.icir.org> References: <20041111030035.GA70923@VARK.MIT.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041111030035.GA70923@VARK.MIT.EDU> Subject: Re: U Area Removal 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: Thu, 11 Nov 2004 03:32:53 -0000 Hey there, On Wed, Nov 10, 2004 at 10:00:35PM -0500, David Schultz wrote: > Over the years, the amount of data we have stored in each process' U > area has eroded to the point where all we have left are the following: > > - A struct kinfo_proc that is only used for a.out core dumps. > This can be reconstructed at the time of the core dump, so > it doesn't need to be there. Aren't we 100% ELF these days? Surely aout is no longer relevant? > - The struct pstats for the process, which takes a mere 216 bytes > on i386. That's pretty small. I don't see the rusage or timeval structs growing much for 64-bit platforms. > I propose to remove the ability to swap the U area, allocating p_stats > from malloced memory instead. I think this is a good idea. > http://www.freebsd.org/~das/patches/upages.diff I've briefly looked over this and am happy to see it simplifies MD code somewhat. BMS