KVM: SVM: Move guest register save out of interrupts disabled section
authorAvi Kivity <avi@redhat.com>
Thu, 21 Oct 2010 10:20:31 +0000 (12:20 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:23:29 +0000 (11:23 +0200)
commit13c34e073bec75aa4c8d1bb80c10fd7291f3423a
tree4fa0808d6c262ca4b1277d613909b2af2ec85ca7
parentd4c90b0043bdb40a6f340d34b2ac1861040de88c
KVM: SVM: Move guest register save out of interrupts disabled section

Saving guest registers is just a memory copy, and does not need to be in the
critical section.  Move outside the critical section to improve latency a
bit.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c