OSDN Git Service

KVM: arm/arm64: Remove arch timer workqueue
authorChristoffer Dall <christoffer.dall@arm.com>
Tue, 27 Nov 2018 12:48:08 +0000 (13:48 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 19 Dec 2018 17:47:07 +0000 (17:47 +0000)
commit8a411b060f820140e9894239fde5819bb213bef0
treef9bcf73cc9bf9abf9fcc845651e94dbd26303f59
parent71a7e47f39a2fb971ef9934e98ba089581eff641
KVM: arm/arm64: Remove arch timer workqueue

The use of a work queue in the hrtimer expire function for the bg_timer
is a leftover from the time when we would inject interrupts when the
bg_timer expired.

Since we are no longer doing that, we can instead call
kvm_vcpu_wake_up() directly from the hrtimer function and remove all
workqueue functionality from the arch timer code.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/kvm/arm_arch_timer.h
virt/kvm/arm/arch_timer.c