]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: optimize more exit handlers in vmx.c
authorAndrea Arcangeli <aarcange@redhat.com>
Mon, 4 Nov 2019 22:59:58 +0000 (17:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:53 +0000 (11:41 +0100)
commit76dff0650a144728da17efd73e6f505d6d95225a
tree6161e720c5a50c4a189aeccfc3c00d0d183332d8
parentcb5929900c768e79b5423e2c606824e06057fad8
KVM: x86: optimize more exit handlers in vmx.c

[ Upstream commit d1c8efb3e7abed18b17d6acdae501ff1c6f7b1a4 ]

Eliminate wasteful call/ret non RETPOLINE case and unnecessary fentry
dynamic tracing hooking points.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Stable-dep-of: 31de69f4eea7 ("KVM: nVMX: Properly expose ENABLE_USR_WAIT_PAUSE control to L1")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kvm/vmx/vmx.c