-
- Downloads
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>
Showing
- arch/x86/include/asm/vgtod.h 19 additions, 0 deletionsarch/x86/include/asm/vgtod.h
- arch/x86/include/asm/vsyscall.h 0 additions, 29 deletionsarch/x86/include/asm/vsyscall.h
- arch/x86/include/asm/vvar.h 0 additions, 1 deletionarch/x86/include/asm/vvar.h
- arch/x86/kernel/cpu/common.c 0 additions, 10 deletionsarch/x86/kernel/cpu/common.c
- arch/x86/kernel/vsyscall_64.c 0 additions, 2 deletionsarch/x86/kernel/vsyscall_64.c
- arch/x86/vdso/vgetcpu.c 0 additions, 1 deletionarch/x86/vdso/vgetcpu.c
Loading
Please register or sign in to comment