Subject: Re: more mmap options
To: None <tech-kern@netbsd.org>
From: Justin Wojdacki <justin.wojdacki@analog.com>
List: tech-kern
Date: 04/22/2002 12:07:58
Wojciech Puchar wrote:
>
> > > pagetable/address space must be reserved..
> >
> > "if the mapping goes beyond the end of the file". Sounds to me as
> > though the maximum growth is the size of the requested mapping.
> >
> so you map for example 1.2MB file in 8MB region and then you can grow it
> up to 8MB. sounds easier.
And then when you access byte 8MB + 1, map another 8MB?
And what if you only need 64KB? Seems awfully wasteful to blow away
8MB of VM space if you don't need it.
--
-------------------------------------------------
Justin Wojdacki
justin.wojdacki@analog.com (408) 350-5032
Communications Processors Group -- Analog Devices