This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.7.0 CVS mmap failure
On Jan 5 12:42, Brian Ford wrote:
> On Fri, 5 Jan 2007, Corinna Vinschen wrote:
> So, it does indeed look taken.
> > Actually this shows a problem in the mmap implementation with respect to
> > MEM_TOP_DOWN. I think, what mmap should actually do is to create a
> > lightweight MAP_RESERVE anonymous mapping of the whole requested mapping
> > size, then close it again and then reopen it with the address it got
> > in this first try. This would probably ensure that the subsequent two
> > mapping will work.
> I don't know what mmap magic Cygwin uses internally to do this, but can't
> you just map the big region, then overmap the disk file without the map,
> unmap, remap, remap?
"overmap"? -v please?
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html