diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2015-04-02 20:44:23 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-04-08 10:46:55 +0200 |
commit | 80f7fdb1c7f0f9266421f823964fd1962681f6ce (patch) | |
tree | 5046430395b6097984374f24d59f6616b34ae1ea /arch/avr32/lib/memset.S | |
parent | 3180a7fcbc0ec7ed7cc85ed5015bdd7a8c2176e8 (diff) |
x86: vdso: fix pvclock races with task migration
If we were migrated right after __getcpu, but before reading the
migration_count, we wouldn't notice that we read TSC of a different
VCPU, nor that KVM's bug made pvti invalid, as only migration_count
on source VCPU is increased.
Change vdso instead of updating migration_count on destination.
Cc: stable@vger.kernel.org
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Fixes: 0a4e6be9ca17 ("x86: kvm: Revert "remove sched notifier for cross-cpu migrations"")
Message-Id: <1428000263-11892-1-git-send-email-rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/avr32/lib/memset.S')
0 files changed, 0 insertions, 0 deletions