aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNadav Amit <[email protected]>2018-09-20 10:30:16 -0700
committerGreg Kroah-Hartman <[email protected]>2018-09-25 20:11:42 +0200
commit0395be3ece114cda496dafd1fb337288c8305e7b (patch)
treea7042d863635af49f25d04adadd180311358692e /tools/perf/scripts/python
parent8b079cd00f70cf8ad2df00fb36674683d637fae0 (diff)
vmw_balloon: simplify vmballoon_send_get_target()
As we want to leave as little as possible on the global balloon structure, to avoid possible future races, we want to get rid sysinfo. We can actually get the total_ram directly, and simplify the logic of vmballoon_send_get_target() a little. While we are doing that, let's return int and avoid mistakes due to bool/int conversions. 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')
0 files changed, 0 insertions, 0 deletions