[PATCH 0/4] KVM: Dynamic sized memslots array

Peter Xu posted 4 patches 2 months, 2 weeks ago
There is a newer version of this series
include/sysemu/kvm_int.h |   7 +--
accel/kvm/kvm-all.c      | 106 ++++++++++++++++++++++++++++++---------
accel/kvm/trace-events   |   1 +
3 files changed, 88 insertions(+), 26 deletions(-)
[PATCH 0/4] KVM: Dynamic sized memslots array
Posted by Peter Xu 2 months, 2 weeks ago
This series make KVM memslots to be allocated dynamically in QEMU.  It
fixes a migration performance regression that I observed, reducing precopy
dirty sync process from ~86ms to ~3ms each time.

Patch 1,2,4 are mostly small cleanups, the major fix is in patch 3.

Thanks,

Peter Xu (4):
  KVM: Rename KVMState->nr_slots to nr_slots_max
  KVM: Define KVM_MEMSLOTS_NUM_MAX_DEFAULT
  KVM: Dynamic sized kvm memslots array
  KVM: Rename KVMMemoryListener.nr_used_slots to nr_slots_used

 include/sysemu/kvm_int.h |   7 +--
 accel/kvm/kvm-all.c      | 106 ++++++++++++++++++++++++++++++---------
 accel/kvm/trace-events   |   1 +
 3 files changed, 88 insertions(+), 26 deletions(-)

-- 
2.45.0