]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-balloon: Simplify deflate with pbp
authorDavid Hildenbrand <david@redhat.com>
Mon, 22 Jul 2019 13:41:05 +0000 (15:41 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 30 Jul 2019 17:41:18 +0000 (12:41 -0500)
commitb0d6feca997b01d1a4d9ce2b7952a0668408c844
treed89dc9b9cb9fc0ce6ce78ec8421bee261d168dbf
parent07026c30c3a4ac1ca5c3b89139d0280ca4d4ec1f
virtio-balloon: Simplify deflate with pbp

Let's simplify this - the case we are optimizing for is very hard to
trigger and not worth the effort. If we're switching from inflation to
deflation, let's reset the pbp.

Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190722134108.22151-4-david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 2ffc49eea1bbd454913a88a0ad872c2649b36950)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/virtio/virtio-balloon.c