Re: [PATCH v18 QEMU 3/3] virtio-balloon: Provide a interface for free page reporting

2020-04-09 Thread Alexander Duyck
On Thu, Apr 9, 2020 at 10:35 AM David Hildenbrand wrote: > On 09.04.20 19:34, Alexander Duyck wrote: > >>> hw/virtio/virtio-balloon.c | 48 > >>> +++- > >>> include/hw/virtio/virtio-balloon.h |2 +- > >>> 2 files changed, 47 insertions(+), 3 deletion

Re: [PATCH v18 QEMU 3/3] virtio-balloon: Provide a interface for free page reporting

2020-04-09 Thread David Hildenbrand
On 09.04.20 19:34, Alexander Duyck wrote: > On Thu, Apr 9, 2020 at 12:44 AM David Hildenbrand wrote: >> >> On 09.04.20 00:55, Alexander Duyck wrote: >>> From: Alexander Duyck >>> >>> Add support for what I am referring to as "free page reporting". >> >> "Add support for "free page reporting". >>

Re: [PATCH v18 QEMU 3/3] virtio-balloon: Provide a interface for free page reporting

2020-04-09 Thread Alexander Duyck
On Thu, Apr 9, 2020 at 12:44 AM David Hildenbrand wrote: > > On 09.04.20 00:55, Alexander Duyck wrote: > > From: Alexander Duyck > > > > Add support for what I am referring to as "free page reporting". > > "Add support for "free page reporting". > > > Basically the idea is to function very simila

Re: [PATCH v18 QEMU 3/3] virtio-balloon: Provide a interface for free page reporting

2020-04-09 Thread David Hildenbrand
On 09.04.20 00:55, Alexander Duyck wrote: > From: Alexander Duyck > > Add support for what I am referring to as "free page reporting". "Add support for "free page reporting". > Basically the idea is to function very similar to how the balloon works > in that we basically end up madvising the pa

[PATCH v18 QEMU 3/3] virtio-balloon: Provide a interface for free page reporting

2020-04-08 Thread Alexander Duyck
From: Alexander Duyck Add support for what I am referring to as "free page reporting". Basically the idea is to function very similar to how the balloon works in that we basically end up madvising the page as not being used. However we don't really need to bother with any deflate type logic since