summaryrefslogtreecommitdiff
path: root/drivers/misc/vmw_balloon.c?id=ec992cc7ea40e46e53aa8d38bc39db205de9cd34
diff options
context:
space:
mode:
authorNadav Amit <namit@vmware.com>2018-06-19 16:00:28 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-03 12:56:30 +0200
commitec992cc7ea40e46e53aa8d38bc39db205de9cd34 (patch)
tree84266e39602c4910d04d66b9a025929b75f37959 /drivers/misc/vmw_balloon.c?id=ec992cc7ea40e46e53aa8d38bc39db205de9cd34
parentc3cc1b0fc27508da53fe955a3b23d03964410682 (diff)
vmw_balloon: remove inflation rate limiting
Since commit 33d268ed0019 ("VMware balloon: Do not limit the amount of frees and allocations in non-sleep mode."), the allocations are not increased, and therefore balloon inflation rate limiting is in practice broken. While we can restore rate limiting, in practice we see that it can result in adverse effect, as the hypervisor throttles down the VM if it does not respond well enough, or alternatively causes it to perform very poorly as the host swaps out the VM memory. Throttling the VM down can even have a cascading effect, in which the VM reclaims memory even slower and consequentially throttled down even further. We therefore remove all the rate limiting mechanisms, including the slow allocation cycles, as they are likely to do more harm than good. Fixes: 33d268ed0019 ("VMware balloon: Do not limit the amount of frees and allocations in non-sleep mode.") Reviewed-by: Xavier Deguillard <xdeguillard@vmware.com> Signed-off-by: Nadav Amit <namit@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/vmw_balloon.c?id=ec992cc7ea40e46e53aa8d38bc39db205de9cd34')
0 files changed, 0 insertions, 0 deletions