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:
3d53c27
)
KVM: VMX: Conditionally reload debug register 6
author
Avi Kivity
<avi@redhat.com>
Tue, 1 Sep 2009 13:06:25 +0000
(16:06 +0300)
committer
Avi Kivity
<avi@redhat.com>
Thu, 10 Sep 2009 15:11:06 +0000
(18:11 +0300)
Only reload debug register 6 if we're running with the guest's
debug registers. Saves around 150 cycles from the guest lightweight
exit path.
dr6 contains a couple of bits that are updated on #DB, so intercept
that unconditionally and update those bits then.
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