]> git.baikalelectronics.ru Git - kernel.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)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 23 Mar 2015 23:22:48 +0000 (20:22 -0300)
commit16d47432dcd59593fa35807779dd61f404998bd8
tree461ed6cace26da5c75d1c01982fde2f3ccc5d4fa
parent82c523f0e9ec40ea593cce71ca53705e7ee56be4
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