diff options
| author | Peter Lieven <pl@kamp.de> | 2013-06-10 12:14:20 +0200 |
|---|---|---|
| committer | Juan Quintela <quintela@redhat.com> | 2013-06-27 02:36:32 +0200 |
| commit | 211ea74022f51164a7729030b28eec90b6c99a08 (patch) | |
| tree | 58f143a42096d24fe5f996fe971eb92c55546be4 /include/migration/qemu-file.h | |
| parent | 9ef051e5536b6368a1076046ec6c4ec4ac12b5c6 (diff) | |
| download | focaccia-qemu-211ea74022f51164a7729030b28eec90b6c99a08.tar.gz focaccia-qemu-211ea74022f51164a7729030b28eec90b6c99a08.zip | |
migration: do not overwrite zero pages
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 <pl@kamp.de> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/migration/qemu-file.h')
0 files changed, 0 insertions, 0 deletions