[PATCH 0/2] KVM: Save two bits in vcpu->requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--
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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux