public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] KVM: Clean up and optimize __kvm_set_memory_region() - part1
@ 2013-01-11  9:25 Takuya Yoshikawa
  2013-01-11  9:26 ` [PATCH 1/4] KVM: set_memory_region: Don't jump to out_free unnecessarily Takuya Yoshikawa
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Takuya Yoshikawa @ 2013-01-11  9:25 UTC (permalink / raw)
  To: mtosatti, gleb; +Cc: kvm

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-01-17 18:27 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-11  9:25 [PATCH 0/4] KVM: Clean up and optimize __kvm_set_memory_region() - part1 Takuya Yoshikawa
2013-01-11  9:26 ` [PATCH 1/4] KVM: set_memory_region: Don't jump to out_free unnecessarily Takuya Yoshikawa
2013-01-11  9:26 ` [PATCH 2/4] KVM: set_memory_region: Don't check for overlaps unless we create or move a slot Takuya Yoshikawa
2013-01-11  9:27 ` [PATCH 3/4] KVM: set_memory_region: Remove unnecessary variable memslot Takuya Yoshikawa
2013-01-11  9:28 ` [PATCH 4/4] KVM: set_memory_region: Identify the requested change explicitly Takuya Yoshikawa
2013-01-16 19:07 ` [PATCH 0/4] KVM: Clean up and optimize __kvm_set_memory_region() - part1 Marcelo Tosatti
2013-01-17  3:20   ` Xiao Guangrong
2013-01-17  7:29     ` Gleb Natapov
2013-01-17 17:12       ` Alex Williamson
2013-01-17 17:20         ` Gleb Natapov
2013-01-17 17:30           ` Alex Williamson
2013-01-17 17:58             ` Gleb Natapov
2013-01-17 18:25               ` Alex Williamson
2013-01-17 12:40     ` Marcelo Tosatti
2013-01-17 12:42 ` Gleb Natapov
2013-01-17 14:26   ` Takuya Yoshikawa
2013-01-17 16:35     ` Gleb Natapov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox