From: Alex Riesen Date: Tue, 18 Jul 2006 18:49:48 GMT Subject: Re: comparing file contents in is_exact_match? Message-ID: <81b0412b0607181149k74165724pa0a513d14704ce73@mail.gmail.com> In-Reply-To: On 7/18/06, Linus Torvalds wrote: > So I really think we should just basically always mmap the pack-files (it > should work everywhere), and make NO_MMAP just trigger on the other cases. And while we are at it make a mental note about avoiding platforms with broken mmap. For instance, QNX6 mmap with MAP_PRIVATE _always_ makes a copy of the whole! file, the stupid thing (they even documented it so!). The alternative flag, MAP_SHARED, does not work on some filesystems at all.