Michael S. Tsirkin
1b47b37c33
virtio-balloon: free pbp more aggressively
...
Previous patches switched to a temporary pbp but that does not go far
enough: after device uses a buffer, guest is free to reuse it, so
tracking the page and freeing it later is wrong.
Free and reset the pbp after we push each element.
Fixes: ed48c59875b6 ("virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size")
Cc: qemu-stable@nongnu.org #v4.0.0
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-07-25 11:19:25 -04:00
..
2019-06-24 10:42:30 +01:00
2019-06-16 16:16:52 -04:00
2019-06-12 13:18:33 +02:00
2019-07-05 17:08:03 -03:00
2019-07-22 14:07:39 +01:00
2019-06-12 13:20:20 +02:00
2019-07-23 11:31:07 +02:00
2019-06-12 13:20:20 +02:00
2019-06-24 10:42:30 +01:00
2019-07-15 14:17:04 +01:00
2019-07-05 17:07:36 -03:00
2019-06-12 13:20:20 +02:00
2019-07-15 14:17:03 +01:00
2019-06-26 13:25:07 +02:00
2019-06-12 13:18:33 +02:00
2019-07-05 17:08:03 -03:00
2019-06-12 13:18:33 +02:00
2019-07-03 10:51:35 +02:00
2019-07-25 04:17:35 -04:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:21 +02:00
2019-07-25 04:17:35 -04:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-07-15 20:58:37 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-07-05 17:08:03 -03:00
2019-07-01 17:29:00 +01:00
2019-06-12 13:20:20 +02:00
2019-07-02 22:49:08 +01:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-07-05 17:08:03 -03:00
2019-07-01 09:17:30 -04:00
2019-07-12 10:56:26 -04:00
2019-07-01 17:28:59 +01:00
2019-06-12 13:18:33 +02:00
2019-07-05 17:08:03 -03:00
2019-06-12 13:18:33 +02:00
2019-07-18 14:18:45 -07:00
2019-07-18 11:29:50 +02:00
2019-07-19 19:04:49 +02:00
2019-06-21 13:25:29 +02:00
2019-06-12 17:53:22 +01:00
2019-06-12 13:20:20 +02:00
2019-07-05 17:07:36 -03:00
2019-07-05 17:08:03 -03:00
2019-07-05 17:08:03 -03:00
2019-07-15 14:17:03 +01:00
2019-07-15 14:17:04 +01:00
2019-07-08 10:04:38 -04:00
2019-06-12 13:20:20 +02:00
2019-06-10 07:03:42 -07:00
2019-07-15 20:58:37 +02:00
2019-07-08 12:10:37 +02:00
2019-07-25 11:19:25 -04:00
2019-07-01 17:29:00 +01:00
2019-06-24 10:42:30 +01:00
2019-01-14 13:45:40 +00:00
2019-07-05 17:08:03 -03:00
2019-05-28 10:28:50 +01:00
2019-07-15 20:58:37 +02:00