]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86: kvm: Revert "remove sched notifier for cross-cpu migrations"
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 23 Mar 2015 23:21:51 +0000 (20:21 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:03:36 +0000 (22:03 +0200)
commit3fbb83fdcd2be33c3091f2c1094c37b5054da9f8
treefd5e79a8ac235c4abdc04327db076fd93425bb14
parentbbe33d7992b2dd4a79499aeb384a4597b73451eb
x86: kvm: Revert "remove sched notifier for cross-cpu migrations"

commit 0a4e6be9ca17c54817cf814b4b5aa60478c6df27 upstream.

The following point:

    2. per-CPU pvclock time info is updated if the
       underlying CPU changes.

Is not true anymore since "KVM: x86: update pvclock area conditionally,
on cpu migration".

Add task migration notification back.

Problem noticed by Andy Lutomirski.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/pvclock.h
arch/x86/kernel/pvclock.c
arch/x86/vdso/vclock_gettime.c
include/linux/sched.h
kernel/sched/core.c