]> 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)
commit525126035624f0367b4c4ab6ed6f50eeff4f5ab4
tree461ed6cace26da5c75d1c01982fde2f3ccc5d4fa
parent97d7002041cde8e10991fa31a9806d7c6b68d31d
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