All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] disabling halt polling for nested virtualization
@ 2019-04-16 18:01 Christian Borntraeger
  2019-04-16 18:01 ` [PATCH v2 1/2] KVM: polling: add architecture backend to disable polling Christian Borntraeger
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Christian Borntraeger @ 2019-04-16 18:01 UTC (permalink / raw)
  To: Janosch Frank
  Cc: KVM, Cornelia Huck, Christian Borntraeger, David Hildenbrand,
	Paolo Bonzini, Radim Krčmář

v1->v2:
	- add kvm_vcpu parameter to kvm_arch_no_poll
	- add kvm stat in the s390 implementation
	- make the value tunable
	
Folks,

this is a very simple variant to disable halt polling when the KVM host
is already running virtualized. We could imagine more complex variants
(like tuning down the halt polling value) but this seems to do the trick
for some kvm deployment scenarios on s390x. (e.g. having multiple LPARS
with KVMs that are in itself already overcommitted). 


Christian Borntraeger (2):
  KVM: polling: add architecture backend to disable polling
  KVM: s390: provide kvm_arch_no_poll function

 arch/s390/include/asm/kvm_host.h |  1 +
 arch/s390/kvm/Kconfig            |  1 +
 arch/s390/kvm/kvm-s390.c         | 17 +++++++++++++++++
 include/linux/kvm_host.h         | 10 ++++++++++
 virt/kvm/Kconfig                 |  3 +++
 virt/kvm/kvm_main.c              |  2 +-
 6 files changed, 33 insertions(+), 1 deletion(-)

-- 
2.19.1


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

end of thread, other threads:[~2019-04-26  7:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-16 18:01 [PATCH v2 0/2] disabling halt polling for nested virtualization Christian Borntraeger
2019-04-16 18:01 ` [PATCH v2 1/2] KVM: polling: add architecture backend to disable polling Christian Borntraeger
2019-04-18 14:44   ` Cornelia Huck
2019-04-16 18:01 ` [PATCH v2 2/2] KVM: s390: provide kvm_arch_no_poll function Christian Borntraeger
2019-04-16 18:02   ` Christian Borntraeger
2019-04-18 14:46   ` Cornelia Huck
2019-04-17 13:20 ` [PATCH v2 0/2] disabling halt polling for nested virtualization Paolo Bonzini
2019-04-17 13:23   ` Christian Borntraeger
2019-04-17 13:43     ` Paolo Bonzini
2019-04-26  7:09 ` Christian Borntraeger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.