From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: On guest free page hinting and OOM Date: Thu, 4 Apr 2019 09:28:38 -0400 Message-ID: <20190404083321-mutt-send-email-mst@kernel.org> References: <29e11829-c9ac-a21b-b2f1-ed833e4ca449@redhat.com> <20190401104608-mutt-send-email-mst@kernel.org> <6a612adf-e9c3-6aff-3285-2e2d02c8b80d@redhat.com> <1249f9dd-d22d-9e19-ee33-767581a30021@redhat.com> <0fdc41fb-b2ba-c6e6-36b9-97ad5a6eb54c@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Hildenbrand , Nitesh Narayan Lal , kvm list , LKML , linux-mm , Paolo Bonzini , lcapitulino@redhat.com, pagupta@redhat.com, wei.w.wang@intel.com, Yang Zhang , Rik van Riel , dodgen@google.com, Konrad Rzeszutek Wilk , dhildenb@redhat.com, Andrea Arcangeli To: Alexander Duyck Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 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