From owner-freebsd-current Wed Sep 2 01:08:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA10399 for freebsd-current-outgoing; Wed, 2 Sep 1998 01:08:49 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA10394 for ; Wed, 2 Sep 1998 01:08:48 -0700 (PDT) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id BAA16032; Wed, 2 Sep 1998 01:07:40 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp04.primenet.com, id smtpd016022; Wed Sep 2 01:07:37 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id BAA25074; Wed, 2 Sep 1998 01:07:34 -0700 (MST) From: Terry Lambert Message-Id: <199809020807.BAA25074@usr02.primenet.com> Subject: Re: ELF binaries size To: bde@zeta.org.au (Bruce Evans) Date: Wed, 2 Sep 1998 08:07:34 +0000 (GMT) Cc: jdp@polstra.com, tlambert@primenet.com, bde@zeta.org.au, current@FreeBSD.ORG, reilly@zeta.org.au In-Reply-To: <199809020750.RAA15197@godzilla.zeta.org.au> from "Bruce Evans" at Sep 2, 98 05:50:31 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >I think Bruce is mistaking the dual mapping for a single mapping, > >on the theory that in a unified VM and buffer cache, there can be > >only one instance of a page hung off the VP. > > Nah. The dual mapping is precisely what costs a full page of real memory. The page is wasted through padding in the image, or it is wasted through padding in the execution class loader. Either way, it is wasted in the in-memory image of the application. The savings are disk-space only. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message