summaryrefslogtreecommitdiffstats
path: root/lib/test_user_copy.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-11-14 10:22:07 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2014-11-14 15:40:17 +0100
commit8593176c677226ead5b4effbd667dd19d5cba5ea (patch)
tree0aa19b0576aa4a4b2de33293e73a842a8ec70b9a /lib/test_user_copy.c
parent063584d44377ebde5ebc6e99cedc1bc6561939d7 (diff)
downloadblackbird-op-linux-8593176c677226ead5b4effbd667dd19d5cba5ea.tar.gz
blackbird-op-linux-8593176c677226ead5b4effbd667dd19d5cba5ea.zip
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>
Diffstat (limited to 'lib/test_user_copy.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud