Date: Tue, 22 Jul 2003 00:47:36 +0200 From: Pawel Jakub Dawidek <nick@garage.freebsd.pl> To: Bruce M Simpson <bms@spc.org>, Matthew Dillon <dillon@apollo.backplane.com>, freebsd-hackers@freebsd.org Subject: Re: VM problem... Message-ID: <20030721224736.GE43543@garage.freebsd.pl> In-Reply-To: <20030721195119.GG22295@spc.org> References: <20030720235759.GJ437@garage.freebsd.pl> <20030721181805.GA43543@garage.freebsd.pl> <200307211903.h6LJ3xrX027536@apollo.backplane.com> <20030721191622.GC43543@garage.freebsd.pl> <20030721195119.GG22295@spc.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nHwqXXcoX0o6fKCv Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 21, 2003 at 08:51:19PM +0100, Bruce M Simpson wrote: Matt, Bruce, thanks! I've track it down. Yes, those read-only pages was reused. So now I'm putting them on list before syscall is called, and after syscall is executed I free memory for non-execve syscalls and mark entries from list as VM_PROT_ALL for execve(). I'll play in the future with vm_map_delete() maybe those pages are removable in safe way. But why memory allocator, that is responsible for finding pages for stack don't check their permissions? --=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 --nHwqXXcoX0o6fKCv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPxxtiD/PhmMH/Mf1AQFiJwP7Bbr2k8J4pZu8jpd2+pIOfrRICKV3FmhU gh6Goo0q6iLItIddp3vtdHZhTI0bDdZXf1hI4KDLWobWYvpSWS6doISoMd7njlKz Le5GWjQCCsEgHYas68q6s9mntN6A8hyIZY5qqAL5fVClpfdTzuJcTRgBVyGyHeM8 b5pEcNwtY0s= =XdRc -----END PGP SIGNATURE----- --nHwqXXcoX0o6fKCv--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030721224736.GE43543>