kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: Save two bits in vcpu->requests
@ 2016-01-07 11:43 Takuya Yoshikawa
  2016-01-07 11:43 ` [PATCH 1/2] KVM: Remove unused KVM_REQ_KICK to save a bit " Takuya Yoshikawa
  2016-01-07 11:43 ` [PATCH 2/2] KVM: Remove KVM_REQ_MCLOCK_INPROGRESS " Takuya Yoshikawa
  0 siblings, 2 replies; 6+ messages in thread
From: Takuya Yoshikawa @ 2016-01-07 11:43 UTC (permalink / raw)
  To: pbonzini; +Cc: kvm, Takuya Yoshikawa

Note: I am submitting this now just to let you know this is possible.  As you
can see, this is not for v4.5, so I will rebase the patches later if necessary.

Although I understand what the following patch tries to do, I do not think we
should do the change right now: using bitmap APIs can make the code slower, so
we should not make that change until it becomes really necessary.

  [PATCH v2] kvm: Make vcpu->requests as 64 bit bitmap
  http://www.spinics.net/lists/kvm/msg125726.html

This patch set tries to give you some time to find a better solution: for
arch-specific flags like KVM_REQ_HV_*, or for those rarely set, we may better
use a separate variable than vcpu->requests.

Takuya Yoshikawa (2):
  KVM: Remove unused KVM_REQ_KICK to save a bit in vcpu->requests
  KVM: Remove KVM_REQ_MCLOCK_INPROGRESS to save a bit in vcpu->requests

 arch/x86/kvm/x86.c       |  2 --
 include/linux/kvm_host.h | 46 ++++++++++++++++++++++------------------------
 virt/kvm/kvm_main.c      |  8 +++++---
 3 files changed, 27 insertions(+), 29 deletions(-)

-- 
2.1.0




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

end of thread, other threads:[~2016-01-08 12:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-07 11:43 [PATCH 0/2] KVM: Save two bits in vcpu->requests Takuya Yoshikawa
2016-01-07 11:43 ` [PATCH 1/2] KVM: Remove unused KVM_REQ_KICK to save a bit " Takuya Yoshikawa
2016-01-07 12:37   ` Paolo Bonzini
2016-01-08  1:47     ` Takuya Yoshikawa
2016-01-08 12:22       ` Paolo Bonzini
2016-01-07 11:43 ` [PATCH 2/2] KVM: Remove KVM_REQ_MCLOCK_INPROGRESS " Takuya Yoshikawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).