2013-06-21 09:02:53

by Igor Mammedov

[permalink] [raw]
Subject: [PATCH 0/2 v2] x86: kvmclock: Prevent uninitialized per-cpu kvmclock usage

Fixes regression introduced by
7069ed6 x86: kvmclock: allocate pvclock shared memory area
and reported by Eugene:
https://bugzilla.kernel.org/show_bug.cgi?id=59521

v2:
- "[1/2] x86: kvmclock: zero initialize pvclock shared memory area"
added to commit messaged another reason why it's clearing
is necessary.
- added "[2/2] x86: kvmclock: register per-cpu kvmclock at earliest possible time"
to register clock earlier.

Igor Mammedov (2):
x86: kvmclock: zero initialize pvclock shared memory area
x86: kvmclock: register per-cpu kvmclock at earliest possible time

arch/x86/kernel/kvmclock.c | 12 ++++++++++--
arch/x86/kernel/smpboot.c | 2 +-
arch/x86/mm/pageattr.c | 4 ++--
3 files changed, 13 insertions(+), 5 deletions(-)