KVM: VMX: Move PLE grow/shrink helpers above vmx_vcpu_load()
authorSean Christopherson <seanjc@google.com>
Wed, 22 May 2024 01:40:09 +0000 (18:40 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 11 Jun 2024 21:18:43 +0000 (14:18 -0700)
commit5d9c07febb8660fbcd6afc6d199e978eafc793ae
tree9e17ce39137d57cba7f9a2ad2f7b6413bf80f179
parentd1ae567fb8b559401a9f65290bbb0cef5e987bfe
KVM: VMX: Move PLE grow/shrink helpers above vmx_vcpu_load()

Move VMX's {grow,shrink}_ple_window() above vmx_vcpu_load() in preparation
of moving the sched_in logic, which handles shrinking the PLE window, into
vmx_vcpu_load().

No functional change intended.

Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20240522014013.1672962-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmx.c