Re: [Qemu-devel] [PATCH 2/2] migration: do not overwrite zero pages

2013-06-24 Thread Alexey Kardashevskiy
On 06/19/2013 08:10 PM, Paolo Bonzini wrote: Il 06/06/2013 10:36, Peter Lieven ha scritto: on incoming migration do not memset pages to zero if they already read as zero. this will allocate a new zero page and consume memory unnecessarily. even if we madvise a MADV_DONTNEED later this will

Re: [Qemu-devel] [PATCH 2/2] migration: do not overwrite zero pages

2013-06-19 Thread Paolo Bonzini
Il 06/06/2013 10:36, Peter Lieven ha scritto: on incoming migration do not memset pages to zero if they already read as zero. this will allocate a new zero page and consume memory unnecessarily. even if we madvise a MADV_DONTNEED later this will only deallocate the memory asynchronously.

[Qemu-devel] [PATCH 2/2] migration: do not overwrite zero pages

2013-06-06 Thread Peter Lieven
on incoming migration do not memset pages to zero if they already read as zero. this will allocate a new zero page and consume memory unnecessarily. even if we madvise a MADV_DONTNEED later this will only deallocate the memory asynchronously. Signed-off-by: Peter Lieven p...@kamp.de ---