]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: update_memslots: drop not needed check for the same number of pages
authorIgor Mammedov <imammedo@redhat.com>
Mon, 1 Dec 2014 17:29:23 +0000 (17:29 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Dec 2014 14:29:09 +0000 (15:29 +0100)
commit962434d32b679dd4f90103984452a35e57a5809b
tree1802f583cf191c8b67de69f0d10c15ee9e6f387e
parent94a19b7cfb5bbdcd8e146f1ac14e34d4bcfee9ac
kvm: update_memslots: drop not needed check for the same number of pages

if number of pages haven't changed sorting algorithm
will do nothing, so there is no need to do extra check
to avoid entering sorting logic.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/kvm_main.c