]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
x86,vdso: Use LSL unconditionally for vgetcpu
authorAndy Lutomirski <luto@amacapital.net>
Thu, 30 Oct 2014 21:58:01 +0000 (14:58 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 3 Nov 2014 12:41:53 +0000 (13:41 +0100)
commite76b027e6408f5570dc940b731ec9ae870c6188a
treed94287f98ee13c7e2fedd4890499f178079ce6ab
parenta92f101bc99d17b75021cf29f18cc57f39a37d1f
x86,vdso: Use LSL unconditionally for vgetcpu

LSL is faster than RDTSCP and works everywhere; there's no need to
switch between them depending on CPU.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Cc: Andi Kleen <andi@firstfloor.org>
Link: http://lkml.kernel.org/r/72f73d5ec4514e02bba345b9759177ef03742efb.1414706021.git.luto@amacapital.net
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/vgtod.h
arch/x86/include/asm/vsyscall.h
arch/x86/include/asm/vvar.h
arch/x86/kernel/cpu/common.c
arch/x86/kernel/vsyscall_64.c
arch/x86/vdso/vgetcpu.c