Subject: Re: [PATCH] don't use mmap() to hash files

From: Paolo Bonzini <[email-masked]>
Date: Mon, 15 Feb 2010 08:48:06 +0100

On 02/14/2010 08:56 PM, Dmitry Potapov wrote:
> It may not work without enough swap space

No, the kernel will use the file itself as "swap" if it has to page out 
the memory (since the mmap is PROT_READ).

Paolo