summaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorNadav Amit <namit@vmware.com>2018-09-20 19:30:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-25 20:11:42 +0200
commit0395be3ece114cda496dafd1fb337288c8305e7b (patch)
treea7042d863635af49f25d04adadd180311358692e /.get_maintainer.ignore
parentvmw_balloon: refactor change size from vmballoon_work (diff)
downloadlinux-0395be3ece114cda496dafd1fb337288c8305e7b.tar.xz
linux-0395be3ece114cda496dafd1fb337288c8305e7b.zip
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 <xdeguillard@vmware.com> Signed-off-by: Nadav Amit <namit@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions