Re: [RFC][Patch v9 0/6] KVM: Guest Free Page Hinting

From: Michael S. Tsirkin
Date: Thu Mar 07 2019 - 13:46:22 EST


On Wed, Mar 06, 2019 at 10:00:05AM -0800, Alexander Duyck wrote:
> I have been thinking about this. Instead of stealing the page couldn't
> you simply flag it that there is a hint in progress and simply wait in
> arch_alloc_page until the hint has been processed? The problem is in
> stealing pages you are going to introduce false OOM issues when the
> memory isn't available because it is being hinted on.

Can we not give them back in an OOM notifier?

--
MST