Skip to content
Commit 18abdc34 authored by Babu Moger's avatar Babu Moger Committed by Radim Krčmář
Browse files

KVM: VMX: Remove ple_window_actual_max



Get rid of ple_window_actual_max, because its benefits are really
minuscule and the logic is complicated.

The overflows(and underflow) are controlled in __ple_window_grow
and _ple_window_shrink respectively.

Suggested-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
Signed-off-by: default avatarBabu Moger <babu.moger@amd.com>
[Fixed potential wraparound and change the max to UINT_MAX. - Radim]
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
parent 7fbc85a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment