Skip to content

Commit a87c99e

Browse files
Luiz Capitulinobonzini
authored andcommitted
KVM: VMX: re-add ple_gap module parameter
Apparently, the ple_gap parameter was accidentally removed by commit c8e8871. Add it back. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Cc: stable@vger.kernel.org Fixes: c8e8871 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent caf54f5 commit a87c99e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/kvm/vmx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ module_param_named(preemption_timer, enable_preemption_timer, bool, S_IRUGO);
174174
* refer SDM volume 3b section 21.6.13 & 22.1.3.
175175
*/
176176
static unsigned int ple_gap = KVM_DEFAULT_PLE_GAP;
177+
module_param(ple_gap, uint, 0444);
177178

178179
static unsigned int ple_window = KVM_VMX_DEFAULT_PLE_WINDOW;
179180
module_param(ple_window, uint, 0444);

0 commit comments

Comments
 (0)