Re: [RFC PATCH 2/3] virtio-balloon: add support for providing free huge page reports to host

From: Liang Li
Date: Tue Dec 22 2020 - 06:40:04 EST


On Tue, Dec 22, 2020 at 4:28 PM David Hildenbrand <david@xxxxxxxxxx> wrote:
>
> On 22.12.20 08:48, Liang Li wrote:
> > Free page reporting only supports buddy pages, it can't report the
> > free pages reserved for hugetlbfs case. On the other hand, hugetlbfs
>
> The virtio-balloon free page reporting interface accepts a generic sg,
> so it isn't glue to buddy pages. There is no need for a new interface.

OK, then there will be two workers accessing the same vq, we can add a
lock for concurrent access.

Thanks!

Liang