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)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 23 Mar 2015 23:22:48 +0000 (20:22 -0300)
commit0a4e6be9ca17c54817cf814b4b5aa60478c6df27
tree461ed6cace26da5c75d1c01982fde2f3ccc5d4fa
parent58d2930f4ee335ab703d768cb0318331fc1bb62c
x86: kvm: Revert "remove sched notifier for cross-cpu migrations"

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>
CC: stable@kernel.org # 3.11+
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