Subject: Re: more mmap options
To: Wojciech Puchar <wojtek@chylonia.3miasto.net>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-kern
Date: 04/22/2002 06:50:17
> > There is a MAP_AUTOGROW which will increase the file size if the mappin=
g
> > 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..

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.

--=20
Emmanuel Dreyfus.                                        manu@netbsd.org
X Window, c'est un millefeuille avec une couche de cr=E8me patissi=E8re, un=
e
de ketchup, et une d'anchois. Faut aimer. Mais c'est vrai que c'est un=20
systeme ouvert: on peut ajouter des pepites de chocolat et des c=E2pres