commit | 211ea74022f51164a7729030b28eec90b6c99a08 | [log] [tgz] |
---|---|---|
author | Peter Lieven <pl@kamp.de> | Mon Jun 10 12:14:20 2013 +0200 |
committer | Juan Quintela <quintela@redhat.com> | Thu Jun 27 02:36:32 2013 +0200 |
tree | 58f143a42096d24fe5f996fe971eb92c55546be4 | |
parent | 9ef051e5536b6368a1076046ec6c4ec4ac12b5c6 [diff] |
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>