Subject: Re: more mmap options
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Wojciech Puchar <wojtek@chylonia.3miasto.net>
List: tech-kern
Date: 04/22/2002 00:06:28
>
> There is a MAP_AUTOGROW which will increase the file size if the mapping
> goes beyond the end of the file and if pages mapped beyond the end of
> the file are touched. For now, I just increase the file size at mapping
> ime so that it fits the mapped area whatever if pages beyond the file
> are touched or not. I have no idea about how to implement the correct
> behavior (ie: file is grown when pages after the end are touched). How
> hard would it be? Roughly, how can it be achieved? And do we want it in
> native mmap? (if we don't, how should I do?)
how is (in irix) defined maximum growth - as space in pagetable/address
space must be reserved..