diff options
author | 2019-01-07 15:01:05 +0800 | |
---|---|---|
committer | 2019-03-06 11:19:33 -0500 | |
commit | 53e946cb347e8993cee1d091c97a38be73d34bdd (patch) | |
tree | ac1cc6a6413031afedf6d2c789c318fa6e001392 /.gitattributes | |
parent | virtio-blk: Consider virtio_max_dma_size() for maximum segment size (diff) | |
download | linux-53e946cb347e8993cee1d091c97a38be73d34bdd.tar.gz linux-53e946cb347e8993cee1d091c97a38be73d34bdd.tar.bz2 linux-53e946cb347e8993cee1d091c97a38be73d34bdd.zip |
virtio-balloon: improve update_balloon_size_func
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@intel.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions