git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02daab2
)
KVM: VMX: Give the guest ownership of cr0.ts when the fpu is active
author
Avi Kivity
<avi@redhat.com>
Wed, 30 Dec 2009 16:07:40 +0000
(18:07 +0200)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:50 +0000
(12:35 -0300)
If the guest fpu is loaded, there is nothing interesing about cr0.ts; let
the guest play with it as it will. This makes context switches between fpu
intensive guest processes faster, as we won't trap the clts and cr0 write
instructions.
[marcelo: fix cr0 read shadow update on fpu deactivation; kills F8 install]
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c
patch
|
blob
|
history
diff --cc
arch/x86/kvm/vmx.c
Simple merge