diff options
author | 2017-02-20 08:56:10 -0800 | |
---|---|---|
committer | 2017-02-21 11:48:40 +0100 | |
commit | e0c230634af99967da79a6ed1faecc720fb623ca (patch) | |
tree | 12daed95fe9c1dbb389a2e32917e3ac08b2dea87 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/asm: Define the kernel TSS limit in a macro (diff) | |
download | linux-rng-e0c230634af99967da79a6ed1faecc720fb623ca.tar.xz linux-rng-e0c230634af99967da79a6ed1faecc720fb623ca.zip |
x86/kvm/vmx: Don't fetch the TSS base from the GDT
The current CPU's TSS base is a foregone conclusion, so there's no need
to parse it out of the segment tables. This should save a couple cycles
(as STR is surely microcoded and poorly optimized) but, more importantly,
it's a cleanup and it means that segment_base() will never be called on
64-bit kernels.
Cc: Thomas Garnier <thgarnie@google.com>
Cc: Jim Mattson <jmattson@google.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions