Re: First cut at git port to Cygwin

From: Alex Riesen <raa.lkml@gmail.com>
Date: 2005-10-09 04:49:25
Johannes Schindelin, Sat, Oct 08, 2005 20:27:06 +0200:
> > I really think that you should just get rid of the mmap.
> > 
> > As it is, you're just slowing the code down on sane architectures. That's 
> > not good.
> > 
> > So I'd suggest something like this instead.
> > 
> > Totally untested, of course.
> 
> Am I missing something? I don't see where the changes are written back to 
> the fd. After all, mmap() is called with PROT_WRITE...

It's just becase the file is open for reading only.
Also, it is not an mmap/unmap implementation. Just reading cache in.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sun Oct 09 04:50:14 2005

This archive was generated by hypermail 2.1.8 : 2005-10-09 04:50:18 EST