[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 2/3] virtio-balloon: add support for providing free huge
From: |
Liang Li |
Subject: |
Re: [RFC PATCH 2/3] virtio-balloon: add support for providing free huge page reports to host |
Date: |
Tue, 22 Dec 2020 19:39:08 +0800 |
On Tue, Dec 22, 2020 at 4:28 PM David Hildenbrand <david@redhat.com> 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