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

From: Igor Mammedov
Date: Fri Jun 21 2013 - 05:02:56 EST


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(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/