Hi Igor and Takuya, here are a few small patches that simplify __kvm_set_memory_region and associated code. Can you please review them? Thanks, Paolo Paolo Bonzini (3): kvm: memslots: track id_to_index changes during the insertion sort kvm: commonize allocation of the new memory slots kvm: simplify update_memslots invocation virt/kvm/kvm_main.c | 87 ++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 51 deletions(-) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html