aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <[email protected]>2023-01-11 23:20:32 -0800
committerIngo Molnar <[email protected]>2023-01-13 10:07:27 +0100
commit92cbbadf73f45c5d8bb26ed8668ff59671ff21e6 (patch)
treeaf1ce62216d2f0aa7051471fa8704f14a4288b06 /tools/perf/scripts/python/syscall-counts.py
parentae53fa18703000f507107df43efd1168a0365361 (diff)
x86/gsseg: Use the LKGS instruction if available for load_gs_index()
The LKGS instruction atomically loads a segment descriptor into the %gs descriptor registers, *except* that %gs.base is unchanged, and the base is instead loaded into MSR_IA32_KERNEL_GS_BASE, which is exactly what we want this function to do. Signed-off-by: H. Peter Anvin (Intel) <[email protected]> Signed-off-by: Xin Li <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: Andy Lutomirski <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions