x86: KVM vdso and clock improvements NB: patch 1 doesn't really belong here, but it makes this a lot easier for me to test. Patch 1, if it's okay at all, should go though the kvm tree. The rest should probably go through tip:x86/vdso once they're reviewed.
I'll do a followup to enable vdso pvclock on 32-bit guests. I'm not currently set up to test it. (The KVM people could also do it very easily on top of these patches.) Changes from v1: - Dropped patch 1 - Added Paolo's review and acks - Fixed a build issue on some configs Andy Lutomirski (4): x86, vdso, pvclock: Simplify and speed up the vdso pvclock reader x86/vdso: Get pvclock data from the vvar VMA instead of the fixmap x86/vdso: Remove pvclock fixmap machinery x86/vdso: Enable vdso pvclock access on all vdso variants arch/x86/entry/vdso/vclock_gettime.c | 151 ++++++++++++++++------------------ arch/x86/entry/vdso/vdso-layout.lds.S | 3 +- arch/x86/entry/vdso/vdso2c.c | 3 + arch/x86/entry/vdso/vma.c | 14 ++++ arch/x86/include/asm/fixmap.h | 5 -- arch/x86/include/asm/pvclock.h | 14 ++-- arch/x86/include/asm/vdso.h | 1 + arch/x86/kernel/kvmclock.c | 11 ++- arch/x86/kernel/pvclock.c | 24 ------ 9 files changed, 107 insertions(+), 119 deletions(-) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html