]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: provide kvm_arch_no_poll function
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 5 Mar 2019 10:30:02 +0000 (05:30 -0500)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 26 Apr 2019 07:08:17 +0000 (09:08 +0200)
commit5c0282640f355fff422cf20465af4b05496cbefd
tree1926b9c6429067d79b898fedce16e7139a95f3ab
parent681f7e4fc63491f6bace6b5fa4f4afb1d828fd4f
KVM: s390: provide kvm_arch_no_poll function

We do track the current steal time of the host CPUs. Let us use
this value to disable halt polling if the steal time goes beyond
a configured value.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/Kconfig
arch/s390/kvm/kvm-s390.c