Subject: Re: more mmap options
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: tech-kern
Date: 04/22/2002 11:20:22
--ncSAzJYg3Aa9+CRW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 22, 2002 at 06:50:17AM +0200, Emmanuel Dreyfus wrote:
> > > There is a MAP_AUTOGROW which will increase the file size if the mapp=
ing
> > > goes beyond the end of the file and if pages mapped beyond the end of
> > > the file are touched.=20
> > how is (in irix) defined maximum growth - as space in pagetable/address
> > space must be reserved..
>=20
> The file is x byte long, you request y bytes (y > x).=20
> round_page(y) is mapped, and if you touch a byte at offset z > x, then
> the file is grown to size z.

rounded up to the next page boundary?

	-is

--ncSAzJYg3Aa9+CRW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBPMPV0zCn4om+4LhpAQGdPgf9EcjN9YRBn+2JUEnEBVn0ihdeLlmULtn5
Pr7SigKZ7HdvKRsNa2tifq+4ZHVX4mdgCzRXeBcvjNoPtBJa+fdsbjGFh0zYVbrr
9X++0glOj119jOVZufnTej8Ey0yLc2aLp1husgTDTkTnsuwyxbr06y4CMOAJAqKc
uJMkrh6FYjXycYczUMlFaNhux0+stY+fSFgGaS+lZxGxRIZo36+4+khroq3byikq
W43Yn7RG4X+togyctYlWnPekh0A61dZWUNn/HDJzV8FKQFaHsl4ujb3w5I7GjSvC
0eUO53wFELnbd6i5M6dtFpaIrXcYo6uNyPUCbPX+qD9KmCIccmxXJw==
=ZphB
-----END PGP SIGNATURE-----

--ncSAzJYg3Aa9+CRW--