Re: [PATCH v1 0/3] Virtio-balloon Improvement

From: Wei Wang
Date: Fri Nov 03 2017 - 04:33:15 EST


On 10/22/2017 11:19 AM, Michael S. Tsirkin wrote:
On Fri, Oct 20, 2017 at 07:54:23PM +0800, Wei Wang wrote:
This patch series intends to summarize the recent contributions made by
Michael S. Tsirkin, Tetsuo Handa, Michal Hocko etc. via reporting and
discussing the related deadlock issues on the mailinglist. Please check
each patch for details.

>From a high-level point of view, this patch series achieves:
1) eliminate the deadlock issue fundamentally caused by the inability
to run leak_balloon and fill_balloon concurrently;
We need to think about this carefully. Is it an issue that
leak can now bypass fill? It seems that we can now
try to leak a page before fill was seen by host,
but I did not look into it deeply.

I really like my patch for this better at least for
current kernel. I agree we need to work more on 2+3.


Since we have many customers interested in the "Virtio-balloon Enhancement" series,
please review the v17 patches first (it has a dependency on your patch for that deadlock fix,
so I included it there too), and we can get back to 2+3 here after that series is done. Thanks.

Best,
Wei