Propagate balloon stats to mm core. https://jira.sw.ru/browse/PSBM-142436 Signed-off-by: Alexander Atanasov <alexander.atana...@virtuozzo.com> --- drivers/misc/vmw_balloon.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c index f1d8ba6d4857..6e62fee0bfbe 100644 --- a/drivers/misc/vmw_balloon.c +++ b/drivers/misc/vmw_balloon.c @@ -1501,6 +1501,8 @@ static void vmballoon_work(struct work_struct *work) } up_read(&b->conf_sem); + if (change != 0) + balloon_set_inflated_free(atomic64_read(&b->size) << 2); /* * We are using a freezable workqueue so that balloon operations are -- 2.31.1 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel