projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2bce0a
)
KVM: SVM: Do not setup frame pointer in __svm_vcpu_run
author
Uros Bizjak
<ubizjak@gmail.com>
Thu, 9 Apr 2020 12:04:40 +0000
(14:04 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 15 Apr 2020 16:08:38 +0000
(12:08 -0400)
__svm_vcpu_run is a leaf function and does not need
a frame pointer. %rbp is also destroyed a few instructions
later when guest registers are loaded.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Message-Id: <
20200409120440
.
1427215
-1-ubizjak@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/vmenter.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/svm/vmenter.S
b/arch/x86/kvm/svm/vmenter.S
index 723887e35e95411585ddefbecc1ff6f6e15740b1..bf944334003aefa2cc5f1ffe3de34e61a1e6ceb3 100644
(file)
--- a/
arch/x86/kvm/svm/vmenter.S
+++ b/
arch/x86/kvm/svm/vmenter.S
@@
-36,7
+36,6
@@
*/
SYM_FUNC_START(__svm_vcpu_run)
push %_ASM_BP
- mov %_ASM_SP, %_ASM_BP
#ifdef CONFIG_X86_64
push %r15
push %r14