]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: update pvclock area conditionally, on cpu migration
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 28 Nov 2012 01:29:04 +0000 (23:29 -0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 28 Nov 2012 01:29:15 +0000 (23:29 -0200)
commit65a72064a49c43da35a71042e162bdbcef62a861
tree2de57537b6c789cb583262d381c92d2640defe0d
parent7e18d38e047e4cd94f298c62415ad14430a7af09
KVM: x86: update pvclock area conditionally, on cpu migration

As requested by Glauber, do not update kvmclock area on vcpu->pcpu
migration, in case the host has stable TSC.

This is to reduce cacheline bouncing.

Acked-by: Glauber Costa <glommer@parallels.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c