]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: LAPIC: Don't need to wakeup vCPU twice afer timer fire
authorWanpeng Li <wanpengli@tencent.com>
Thu, 1 Aug 2019 03:30:13 +0000 (11:30 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Aug 2019 10:55:45 +0000 (12:55 +0200)
commitb8b9f4a693408609d46f2732d09de9a0cbb7f2c3
tree6922286f3f80af87baca222e0f3736c486c1dc9a
parent3689e3597e4eda39dd9ebddcacb8b98e6ac8ecf6
KVM: LAPIC: Don't need to wakeup vCPU twice afer timer fire

kvm_set_pending_timer() will take care to wake up the sleeping vCPU which
has pending timer, don't need to check this in apic_timer_expired() again.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c