]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Fix deep C-state TSC desynchronization
authorZachary Amsden <zamsden@redhat.com>
Fri, 20 Aug 2010 08:07:24 +0000 (22:07 -1000)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:23 +0000 (10:51 +0200)
commitbf5c89994bc389f18b4d8a6f628f1ecb7bf13497
tree8c7f91598f3ea56550e86599c18b3e0b7daf6361
parente5faed035f416cc751e9fc3d822c5ba2b293c831
KVM: x86: Fix deep C-state TSC desynchronization

When CPUs with unstable TSCs enter deep C-state, TSC may stop
running.  This causes us to require resynchronization.  Since
we can't tell when this may potentially happen, we assume the
worst by forcing re-compensation for it at every point the VCPU
task is descheduled.

Signed-off-by: Zachary Amsden <zamsden@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c