Patches 1 to 3 are trivial.

Patch 4 is the main cause of the increased lines, but I think the new
code makes it easier to understand why each condition in
__kvm_set_memory_region() is there.

If you don't agree with patch 4, please consider taking the rest of the
series at this time.

Takuya Yoshikawa (4):
  KVM: set_memory_region: Don't jump to out_free unnecessarily
  KVM: set_memory_region: Don't check for overlaps unless we create or move a 
slot
  KVM: set_memory_region: Remove unnecessary variable memslot
  KVM: set_memory_region: Identify the requested change explicitly

 virt/kvm/kvm_main.c |   94 ++++++++++++++++++++++++++++++++-------------------
 1 files changed, 59 insertions(+), 35 deletions(-)

-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to