KVM: Migrate lapic hrtimer when vcpu moves to another cpu
authorEddie Dong <eddie.dong@intel.com>
Mon, 3 Sep 2007 13:15:12 +0000 (16:15 +0300)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:26 +0000 (10:18 +0200)
commita3d7f85f471f889e4477863a7ca42828ae74e77d
treef75148a940f7e297da91f6a14ab573291ceb050f
parent1b9778dae71dc64d3678d766c0f1fbed79c80f9f
KVM: Migrate lapic hrtimer when vcpu moves to another cpu

This reduces overhead by accessing cachelines from the wrong node, as well
as simplifying locking.

[Qing: fix for inactive or expired one-shot timer]

Signed-off-by: Yaozu (Eddie) Dong <Eddie.Dong@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/irq.h
drivers/kvm/lapic.c
drivers/kvm/svm.c
drivers/kvm/vmx.c