Re: On guest free page hinting and OOM

From: Michael S. Tsirkin
Date: Thu Apr 04 2019 - 09:28:44 EST


On Tue, Apr 02, 2019 at 04:43:03PM -0700, Alexander Duyck wrote:
> Yes, but hopefully it should be a small enough amount that nobody will
> notice. In many cases devices such as NICs can consume much more than
> this regularly for just their Rx buffers and it is not an issue. There
> has to be a certain amount of overhead that any given device is
> allowed to consume. If we contain the balloon hinting to just 64M that
> should be a small enough amount that nobody would notice in practice.

I am still inclined to add ability for balloon to exit to host on OOM
if any hints are outstanding.

If nothing else will be helpful for stats.

--
MST