diff options
| author | 2021-11-18 19:08:01 +0800 | |
|---|---|---|
| committer | 2021-12-08 04:25:04 -0500 | |
| commit | 6ab8a4053f7114d130fe1f3485d71efec20f5806 (patch) | |
| tree | 50ac917d7b3c86bd9936bc3168328564be8bea29 /tools/perf/scripts/python/futex-contention.py | |
| parent | KVM: X86: Update mmu->pdptrs only when it is changed (diff) | |
| download | linux-dev-6ab8a4053f7114d130fe1f3485d71efec20f5806.tar.xz linux-dev-6ab8a4053f7114d130fe1f3485d71efec20f5806.zip | |
KVM: VMX: Avoid to rdmsrl(MSR_IA32_SYSENTER_ESP)
The value of host MSR_IA32_SYSENTER_ESP is known to be constant for
each CPU: (cpu_entry_stack(cpu) + 1) when 32 bit syscall is enabled or
NULL is 32 bit syscall is not enabled.
So rdmsrl() can be avoided for the first case and both rdmsrl() and
vmcs_writel() can be avoided for the second case.
Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Message-Id: <20211118110814.2568-3-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
