From: Linus Torvalds Date: Sat, 23 Dec 2006 20:10:15 GMT Subject: Re: [PATCH 11/17] Fully activate the sliding window pack access. Message-ID: In-Reply-To: <7vodpuqtuf.fsf@assigned-by-dhcp.cox.net> On Sat, 23 Dec 2006, Junio C Hamano wrote: > > I have been thinking that we should perhaps change Cygwin > default to NO_MMAP. Safer but slower would be better than not > working correctly for people on FAT32. The thing is, with a smaller pack access window, it might not even be slower. I don't know just _how_ many hoops cygwin jumps through for mmap, and maybe mmap under cygwin is actually perfectly fine, but at the same time I do suspect that UNIX mmap semantics are a lot harder to emulate than just a regular "pread()", so it's quite possible that by avoiding mmap you could avoid a lot of complex cygwin code. And yes, making it all work on FAT32 would obviously be a good thing. Only testing (or somebody who knows cygwin well) can tell. Linus