From: Junio C Hamano Date: Fri, 05 Jan 2007 23:58:31 GMT Subject: Re: git-svnimport failed and now git-repack hates me Message-ID: <7vac0xc9g8.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > It does actually end up forcing the kernel to do more work (it's harder to > re-use a mapped page than it is to reuse one that isn't), and in that > sense, if you have less than GB of RAM and can't just keep it all in > memory at the same time, doing one large mmap is possibly more expensive > than chunking things up. Even if it is a read-only private mapping? Would MAP_SHARED help?