Subject: Re: HEADS-UP: top down vm available for use on i386 platform, for development on others
To: Andrew Brown <atatat@atatdot.net>
From: Ignatios Souvatzis <is@netbsd.org>
List: current-users
Date: 02/21/2003 20:41:57
--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Feb 20, 2003 at 05:41:51PM -0500, Andrew Brown wrote:
> % pmap -lv
> 08048000-0808b000 r-xp 00000000 00:04 2951414 /usr/pkg/bin/tcsh
> 0808b000-0808f000 rw-p 00042000 00:04 2951414 /usr/pkg/bin/tcsh
> 0808f000-080bb000 rw-p 00000000 00:00 0 [ anon ]
> 080bb000-0810e000 rwxp 00000000 00:00 0 [ heap ]
> [3]
> bdb37000-bdbcb000 r-xp 00000000 00:00 39945 /lib/libc.so.12.94
> bdbcb000-bdbd1000 rw-p 00093000 00:00 39945 /lib/libc.so.12.94
> bdbd1000-bdbdf000 rw-p 00000000 00:00 0 [ anon ]
> bdbdf000-bdbe4000 r-xp 00000000 00:00 39943 /lib/libcrypt.so.0.1
> bdbe4000-bdbe6000 rw-p 00004000 00:00 39943 /lib/libcrypt.so.0.1
> bdbe6000-bdbe9000 rw-p 00000000 00:00 0 [ anon ]
> bdbe9000-bdbeb000 r-xp 00000000 00:00 39975 /lib/libtermcap.so.0.5
> bdbeb000-bdbed000 rw-p 00001000 00:00 39975 /lib/libtermcap.so.0.5
> bdbed000-bdbf5000 rw-p 00000000 00:00 0 [ anon ]
> bdbf5000-bdbfe000 r-xp 00000000 00:00 39997 /libexec/ld.elf_so
> bdbfe000-bdc00000 rw-p 00000000 00:00 0 [ anon ]
> bdc00000-bfa00000 ---p 00000000 00:00 0 [ stack ]
> bfa00000-bfbe0000 rwxp 00000000 00:00 0 [ stack ]
> bfbe0000-bfbf0000 rwxp 00000000 00:00 0 [ stack ]
> bfbf0000-bfc00000 rwxp 00000000 00:00 0 [ stack ]
>=20
> and as you can plainly, see, there is only one area now, [3], into
> which either of them can grow. this means (or will mean, ultimately),
> that your heap can grow larger, or you can mmap() larger objects.
but now, the stack can't grow any longer beyond the first mmap()ed=20
region, right?
Regards,
-is
--4Ckj6UjgE2iN1+kY
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE+VoD9PCRcZ/VMtk4RAqovAKCFPhTMlCdPQyygrPc2Q2XMhb6zXwCfSHbV
EQmEV5MFnCnZafMhYWsHK3g=
=PYhl
-----END PGP SIGNATURE-----
--4Ckj6UjgE2iN1+kY--