commit | 8593176c677226ead5b4effbd667dd19d5cba5ea | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 14 10:22:07 2014 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 14 15:40:17 2014 +0100 |
tree | 0aa19b0576aa4a4b2de33293e73a842a8ec70b9a | |
parent | 063584d44377ebde5ebc6e99cedc1bc6561939d7 [diff] |
kvm: memslots: track id_to_index changes during the insertion sort This completes the optimization from the previous patch, by removing the KVM_MEM_SLOTS_NUM-iteration loop from insert_memslot. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>