From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: Re: [PATCH v2 1/4] balloon: Allow nested inhibits Date: Tue, 7 Aug 2018 16:20:34 +0200 Message-ID: <20180807162034.0e3759d5.cohuck@redhat.com> References: <153299204130.14411.11438396195753743913.stgit@gimli.home> <153299242656.14411.14216251294160965283.stgit@gimli.home> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: peterx@redhat.com, david@redhat.com, qemu-devel@nongnu.org, kvm@vger.kernel.org, mst@redhat.com To: Alex Williamson Return-path: In-Reply-To: <153299242656.14411.14216251294160965283.stgit@gimli.home> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel2=m.gmane.org@nongnu.org Sender: "Qemu-devel" List-Id: kvm.vger.kernel.org On Mon, 30 Jul 2018 17:13:46 -0600 Alex Williamson wrote: > A simple true/false internal state does not allow multiple users. Fix > this within the existing interface by converting to a counter, so long > as the counter is elevated, ballooning is inhibited. > > Signed-off-by: Alex Williamson > --- > balloon.c | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) Reviewed-by: Cornelia Huck