From: Johannes Schindelin Date: Sat, 08 Oct 2005 18:27:06 GMT Subject: Re: First cut at git port to Cygwin Message-ID: In-Reply-To: Hi, On Sat, 8 Oct 2005, Linus Torvalds wrote: > 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... *shameless plug* Of course, this problem does not come up with my NO_MMAP patch. Ciao, Dscho