]> 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)
commite7e801ef65e3da3081e685d3dd7eb36d2f87fcbe
tree1802f583cf191c8b67de69f0d10c15ee9e6f387e
parent955491ee04a1fa75b1f77a1d9c12463b8f6857b4
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