summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNadav Amit <namit@vmware.com>2018-06-19 16:00:25 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-09 20:04:33 +0200
commit059766538c16541bf56764869757a29b85840312 (patch)
tree9c8a72777131da1c3d55d0b2faaa3a98ba30d277 /tools/perf/scripts/python
parent244ce5c9b32a62626367f5159d1557c815029da4 (diff)
vmw_balloon: do not use 2MB without batching
commit 5081efd112560d3febb328e627176235b250d59d upstream. If the hypervisor sets 2MB batching is on, while batching is cleared, the balloon code breaks. In this case the legacy mechanism is used with 2MB page. The VM would report a 2MB page is ballooned, and the hypervisor would only take the first 4KB. While the hypervisor should not report such settings, make the code more robust by not enabling 2MB support without batching. Fixes: 365bd7ef7ec8e ("VMware balloon: Support 2m page ballooning.") Cc: stable@vger.kernel.org Reviewed-by: Xavier Deguillard <xdeguillard@vmware.com> Signed-off-by: Nadav Amit <nadav.amit@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions