Re: [PATCH v1 2/2] virtio-balloon: improve update_balloon_size_func

From: Halil Pasic
Date: Thu Jan 03 2019 - 07:19:26 EST


On Thu, 3 Jan 2019 13:31:02 +0800
Wei Wang <wei.w.wang@xxxxxxxxx> wrote:

> There is no need to update the balloon actual register when there is no
> ballooning request. This patch avoids update_balloon_size when diff is 0.
>
> Signed-off-by: Wei Wang <wei.w.wang@xxxxxxxxx>

Reviewed-by: Halil Pasic <pasic@xxxxxxxxxxxxx>

I would be also fine with both patches squashed into one.

BTW the end result looks to me even a bit nicer.