On Mon, Feb 15, 2010 at 10:48 AM, Paolo Bonzini <bonzini@xxxxxxx> wrote: > 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). I was speaking about read(), when the whole file is read in memory. In this case, you are going to use a lot of "swap" and it is not pretty... That's why I said maybe we should have an option here... Dmitry -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html