From owner-freebsd-alpha Wed Aug 22 13:23:33 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 226DD37B42B; Wed, 22 Aug 2001 13:22:53 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id GAA22126; Thu, 23 Aug 2001 06:22:41 +1000 Date: Thu, 23 Aug 2001 06:22:35 +1000 (EST) From: Bruce Evans X-X-Sender: To: Matt Dillon Cc: Terry Lambert , Jake Burkholder , John Baldwin , , Subject: Re: Preliminary proposed rollup of kernel submap initialization code In-Reply-To: <200108221954.f7MJsbd77448@earth.backplane.com> Message-ID: <20010823060618.M15348-100000@besplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 22 Aug 2001, Matt Dillon wrote: > :I prefer keeping the variables separate like they used to be. There is > :even less need for them to be combined in a struct than there used to be, > :since centralizing the their initializations ensures that they are the same > :for all arches. > > All the fields are related. They belong in a structure rather then > as free globals or free statics. And it makes it easier for the MD > code to call the MI code. My opinion, anyway. Actually, they are even less related than at first appearance. buffer_sva, buffer_eva, pager_sva and pager_eva aren't really used. They are just places for throwing away the values returned indirectly by kmem_suballoc(). clean_sva and clean_eva are used in one place in pmap.c. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message