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.htmlReceived on Sun Oct 09 04:50:14 2005
This archive was generated by hypermail 2.1.8 : 2005-10-09 04:50:18 EST