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

2019-01-14 Thread Wei Wang
On 01/15/2019 09:00 AM, Michael S. Tsirkin wrote: On Mon, Jan 07, 2019 at 03:01:05PM +0800, Wei Wang 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 Reviewed-by: Cor

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

2019-01-14 Thread Michael S. Tsirkin
On Mon, Jan 07, 2019 at 03:01:05PM +0800, Wei Wang 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 > Reviewed-by: Cornelia Huck > Reviewed-by: Halil Pasic It

[PATCH v3 2/3] virtio-balloon: improve update_balloon_size_func

2019-01-06 Thread Wei Wang
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 Reviewed-by: Cornelia Huck Reviewed-by: Halil Pasic --- drivers/virtio/virtio_balloon.c | 5 - 1 file changed, 4 inserti