]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
KVM: VMX: Avoid vmwrite(HOST_RSP) when possible
authorAvi Kivity <avi@qumranet.com>
Thu, 17 Jul 2008 15:04:30 +0000 (18:04 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:15 +0000 (10:15 +0200)
commit313dbd49dc239205b96da79fba09f7637cf84f3c
tree4cc4989b88d23d9e351acd4759378774e789905c
parent3b4bd7969f7b61a1ab455bff084ee4f0a2411055
KVM: VMX: Avoid vmwrite(HOST_RSP) when possible

Usually HOST_RSP retains its value across guest entries.  Take advantage
of this and avoid a vmwrite() when this is so.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/vmx.c