Re: [PATCH 5/9] KVM: VMX: clamp PLE window

2014-08-20 Thread Paolo Bonzini
Il 19/08/2014 22:35, Radim Krčmář ha scritto: Modifications could get unwanted values of PLE window. (low or negative) Use ple_window and the maximal value that cannot overflow as bounds. ple_window_max defaults to a very high value, but it would make sense to set it to some fraction of the

Re: [PATCH 5/9] KVM: VMX: clamp PLE window

2014-08-20 Thread Radim Krčmář
2014-08-20 09:18+0200, Paolo Bonzini: Il 19/08/2014 22:35, Radim Krčmář ha scritto: Modifications could get unwanted values of PLE window. (low or negative) Use ple_window and the maximal value that cannot overflow as bounds. ple_window_max defaults to a very high value, but it would

[PATCH 5/9] KVM: VMX: clamp PLE window

2014-08-19 Thread Radim Krčmář
Modifications could get unwanted values of PLE window. (low or negative) Use ple_window and the maximal value that cannot overflow as bounds. ple_window_max defaults to a very high value, but it would make sense to set it to some fraction of the scheduler tick. Signed-off-by: Radim Krčmář