Nadav Amit 0395be3ece 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>
2018-09-25 20:11:42 +02:00
..
2018-09-07 10:05:20 +02:00
2018-09-05 09:17:20 -07:00
2018-09-13 19:16:11 -10:00
2018-08-30 14:47:41 -07:00
2018-08-23 13:52:46 -07:00
2018-09-16 22:41:47 +02:00
2018-08-08 15:44:47 +10:00
2018-09-16 22:41:47 +02:00
2018-09-08 15:38:57 -07:00
2018-09-12 19:39:56 -10:00
2018-08-23 13:44:43 -07:00
2018-08-25 14:12:36 -07:00
2018-08-16 12:26:24 -07:00
2018-09-14 13:03:17 -10:00
2018-08-18 11:04:51 -07:00
2018-08-20 11:36:07 +02:00
2018-08-20 15:38:44 -07:00
2018-08-25 14:12:36 -07:00
2018-08-20 16:30:27 -07:00
2018-09-13 16:22:24 -10:00
2018-08-23 14:02:22 -07:00
2018-08-18 16:45:27 -07:00
2018-08-23 13:52:46 -07:00
2018-09-12 09:46:46 +02:00
2018-08-17 11:32:50 -07:00
2018-08-23 15:44:58 -07:00
2018-08-24 08:45:19 -07:00
2018-09-14 15:25:57 +02:00
2018-08-18 11:04:51 -07:00