aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorNadav Amit <[email protected]>2018-06-19 16:00:25 -0700
committerGreg Kroah-Hartman <[email protected]>2018-07-03 12:56:30 +0200
commit5081efd112560d3febb328e627176235b250d59d (patch)
treed0097568b2c08f76cf0c0ae4adcb4c4c6ad77ff1 /tools/perf/scripts/python/netdev-times.py
parent09755690c6b7c1eabdc4651eb3b276f8feb1e447 (diff)
vmw_balloon: do not use 2MB without batching
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: [email protected] Reviewed-by: Xavier Deguillard <[email protected]> Signed-off-by: Nadav Amit <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions