diff options
author | Wanpeng Li <wanpengli@tencent.com> | 2019-09-05 14:26:27 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-11 18:05:29 +0200 |
commit | 2b0911d1311e8f3a3cda472e08df21bcc49a5e61 (patch) | |
tree | 9a70d3e16544d98c19c268db7ff85e17ebce1f4d /arch/x86/kvm/vmx/vmx.h | |
parent | 1cfff4d9a5d01fa61e5768a6afffc81ae1c8ecb9 (diff) | |
download | talos-op-linux-2b0911d1311e8f3a3cda472e08df21bcc49a5e61.tar.gz talos-op-linux-2b0911d1311e8f3a3cda472e08df21bcc49a5e61.zip |
KVM: LAPIC: Micro optimize IPI latency
This patch optimizes the virtual IPI emulation sequence:
write ICR2 write ICR2
write ICR read ICR2
read ICR ==> send virtual IPI
read ICR2 write ICR
send virtual IPI
It can reduce kvm-unit-tests/vmexit.flat IPI testing latency(from sender
send IPI to sender receive the ACK) from 3319 cycles to 3203 cycles on
SKylake server.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/vmx.h')
0 files changed, 0 insertions, 0 deletions