aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAndy Lutomirski <[email protected]>2016-11-16 18:23:27 +0000
committerIngo Molnar <[email protected]>2016-11-17 07:31:14 +0000
commita582c540ac1b10f0a7d37415e04c4af42409fd08 (patch)
tree7aa03d7e392b1f08fea2719e66b536113e40c2e7 /net/unix/af_unix.c
parentMerge branch 'x86/cpufeature' into x86/asm, to pick up dependency (diff)
downloadkernel-a582c540ac1b10f0a7d37415e04c4af42409fd08.tar.gz
kernel-a582c540ac1b10f0a7d37415e04c4af42409fd08.zip
x86/vdso: Use RDPID in preference to LSL when available
RDPID is a new instruction that reads MSR_TSC_AUX quickly. This should be considerably faster than reading the GDT. Add a cpufeature for it and use it from __vdso_getcpu() when available. Tested-by: Megha Dey <[email protected]> Signed-off-by: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/4f6c3a22012d10f1c65b9ca15800e01b42c7d39d.1479320367.git.luto@kernel.org Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions