aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-01-06 18:09:12 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2011-03-17 13:08:26 -0300
commit40712faeb84dacfcb3925a88231daa08b3624d34 (patch)
treef2d916b387dcf6613a4a3a43d10f96b979eb17f2 /kernel
parentKVM: VMX: Simplify saving guest rcx in vmx_vcpu_run (diff)
downloadwireguard-linux-40712faeb84dacfcb3925a88231daa08b3624d34.tar.xz
wireguard-linux-40712faeb84dacfcb3925a88231daa08b3624d34.zip
KVM: VMX: Avoid atomic operation in vmx_vcpu_run
Instead of exchanging the guest and host rcx, have separate storage for each. This allows us to avoid using the xchg instruction, which is is a little slower than normal operations. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions