]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: timer: remove request-less vcpu kick
authorAndrew Jones <drjones@redhat.com>
Sun, 4 Jun 2017 12:44:01 +0000 (14:44 +0200)
committerChristoffer Dall <cdall@linaro.org>
Sun, 4 Jun 2017 14:53:57 +0000 (16:53 +0200)
commit0a188f2b351398d27a7077bffeb30b603559ccdf
tree996cc1f4978462f4ddf95a4b4fc57aa1eb8a1187
parent05c42629a09454a7e27c7bd9a8ece5438ce25106
KVM: arm/arm64: timer: remove request-less vcpu kick

The timer work is only scheduled for a VCPU when that VCPU is
blocked. This means we only need to wake it up, not kick (IPI)
it. While calling kvm_vcpu_kick() would just do the wake up,
and not kick, anyway, let's change this to avoid request-less
vcpu kicks, as they're generally not a good idea (see
"Request-less VCPU Kicks" in
Documentation/virtual/kvm/vcpu-requests.rst)

Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
virt/kvm/arm/arch_timer.c