virtio_balloon: return the amount of freed memory from leak_balloon()
authorRaushaniya Maksudova <rmaksudova@parallels.com>
Sun, 9 Nov 2014 23:05:29 +0000 (09:35 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 11 Nov 2014 06:39:57 +0000 (17:09 +1030)
commit1fd9c67203af91977bf3b964ff3744cf74fc6f3f
treeb1ee69463f889e3d1669447021c7315e4ea143a2
parent46652a861b46cc62e9d983d5cf6d9532cd6fccab
virtio_balloon: return the amount of freed memory from leak_balloon()

This value would be useful in the next patch to provide the amount of
the freed memory for OOM killer.

Signed-off-by: Raushaniya Maksudova <rmaksudova@parallels.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Rusty Russell <rusty@rustcorp.com.au>
CC: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_balloon.c