From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 21 14:30:26 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 253BF37B401 for ; Mon, 21 Jul 2003 14:30:26 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 354F543F93 for ; Mon, 21 Jul 2003 14:30:24 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 883D23ABB4D; Mon, 21 Jul 2003 23:30:37 +0200 (CEST) Date: Mon, 21 Jul 2003 23:30:37 +0200 From: Pawel Jakub Dawidek To: Matthew Dillon Message-ID: <20030721213037.GD43543@garage.freebsd.pl> References: <20030720235759.GJ437@garage.freebsd.pl> <20030721181805.GA43543@garage.freebsd.pl> <200307211903.h6LJ3xrX027536@apollo.backplane.com> <20030721191622.GC43543@garage.freebsd.pl> <200307211932.h6LJWJuM027712@apollo.backplane.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="48TaNjbzBVislYPb" Content-Disposition: inline In-Reply-To: <200307211932.h6LJWJuM027712@apollo.backplane.com> X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i cc: freebsd-hackers@freebsd.org Subject: Re: VM problem... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 21:30:26 -0000 --48TaNjbzBVislYPb Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 21, 2003 at 12:32:19PM -0700, Matthew Dillon wrote: +> Hmm. Well, when a process forks the vm_map_entry's fork along with +> it. The underlying VM objects remain shared but become copy-on-writ= e. Yes, but I mean while execve(), not fork(). Before execve() is called map got for example 65 pages in its vm map. One of this page is marked as read-only. After execve() process vm map got only 2 pages. I susspect, that pages from before execve() are floating around. And this read-only pages also and maybe it can be reused for stack? If not, what happend with them? --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --48TaNjbzBVislYPb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPxxbfT/PhmMH/Mf1AQHtygQAk+hqOjxo1cQT/5tfViUXXU7xPxZF9Vff 0g2cw6+/CVqsVKAFL3okmZC7OQBwN+UqXYUR/96la3qIL+TK7KvNcRg1eCAMJR98 qKpclJRd8z3XMFGs3FqnT78J0pR+mQvkXbcjy/YbaF7JxyEL06Kq/Zg3D9cgZav6 fWfIa2uDCCQ= =LqE1 -----END PGP SIGNATURE----- --48TaNjbzBVislYPb--