Re: git-svnimport failed and now git-repack hates me
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 5, 2007, 23:58 UTC
- Message-ID
- <7vac0xc9g8.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0701051515000.3661@woody.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 5 quoted lines
> 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 <n> 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?