mbox series

[RFC,0/2] migration: Skip sync in ram_init_bitmaps()

Message ID cover.1729648695.git.yong.huang@smartx.com (mailing list archive)
Headers show
Series migration: Skip sync in ram_init_bitmaps() | expand

Message

Yong Huang Oct. 23, 2024, 2:09 a.m. UTC
From: Hyman Huang <yong.huang@smartx.com>

As discussed in:
https://lore.kernel.org/qemu-devel/ZvbQ0RQx-zxOeo4Y@x1n/
RAMBlock dirty sync in ram_init_bitmaps() appears to be unnecessary;
this patchset attempts to eliminate it and asks for comments on how
to do so.

Please review, thanks

Yong

Hyman Huang (2):
  accel/kvm: Introduce kvm_dirty_log_manual_enabled
  migration: Avoid doing RAMBlock dirty sync in the initial iteration

 accel/kvm/kvm-all.c      |  2 ++
 include/sysemu/kvm.h     |  8 ++++++++
 migration/cpu-throttle.c |  3 ++-
 migration/ram.c          | 30 +++++++++++++++++++++++++++---
 4 files changed, 39 insertions(+), 4 deletions(-)