question: KVM_MR_CREATE and kvm_mmu_slot_apply_flags()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm investigating optimizing qemu start time for large memory guests,
and I'm trying to understand why kvm_mmu_slot_apply_flags() is called by
kvm_arch_commit_memory_region() for KVM_MR_CREATE.  The comments in
kvm_mmu_slot_apply_flags() imply it should be, but what I've observed is
that the new slot will have no mappings resulting in slot_handle_level_range()
walking the rmaps and doing nothing.  This can take a noticeable amount of
time for very large ranges.  It doesn't look like there would ever be any
mappings in a newly created slot.  Am I missing something?

Thanks,
Anthony



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux