Re: [PATCH 0/3] avoid unnecessary memslot rmap walks

2020-06-04 Thread Paolo Bonzini
On 02/06/20 22:07, Anthony Yznaga wrote: > While investigating optimizing qemu start time for large memory guests > I found that kvm_mmu_slot_apply_flags() is walking rmaps to update > existing sptes when creating or moving a slot but that there won't be > any existing sptes to update and any sptes

[PATCH 0/3] avoid unnecessary memslot rmap walks

2020-06-02 Thread Anthony Yznaga
While investigating optimizing qemu start time for large memory guests I found that kvm_mmu_slot_apply_flags() is walking rmaps to update existing sptes when creating or moving a slot but that there won't be any existing sptes to update and any sptes inserted once the new memslot is visible won't n