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:
35cc7f9
)
KVM: VMX: Only save/restore MSR_K6_STAR if necessary
author
Avi Kivity
<avi@qumranet.com>
Thu, 19 Apr 2007 11:28:44 +0000
(14:28 +0300)
committer
Avi Kivity
<avi@qumranet.com>
Thu, 3 May 2007 07:52:30 +0000
(10:52 +0300)
Intel hosts only support syscall/sysret in long more (and only if efer.sce
is enabled), so only reload the related MSR_K6_STAR if the guest will
actually be able to use it.
This reduces vmexit cost by about 500 cycles (6400 -> 5870) on my setup.
Signed-off-by: Avi Kivity <avi@qumranet.com>
No differences found