kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
	riel@redhat.com, aarcange@redhat.com, aquini@redhat.com,
	mst@redhat.com, vdavydov@parallels.com, amit.shah@redhat.com,
	dfediuck@redhat.com, alitke@redhat.com
Subject: Re: [RFC PATCH 3/4] virtio_balloon: add pressure notification via a new virtqueue
Date: Thu, 16 Jan 2014 20:43:51 -0500	[thread overview]
Message-ID: <20140116204351.7d48c2b9@redhat.com> (raw)
In-Reply-To: <20140116203819.0e7be6d4@redhat.com>

On Thu, 16 Jan 2014 20:38:19 -0500
Luiz Capitulino <lcapitulino@redhat.com> wrote:

> > What does qemu do with this information?
> 
> There are two possible scenarios:
> 
>  1. The balloon driver is currently inflating when it gets under
>     pressure
> 
>     QEMU resets "num_pages" to the current balloon size. This
>     cancels the on-going inflate
> 
>  2. The balloon driver is not inflating, eg. it's possibly sleeping
> 
>    QEMU issues a deflate
> 
> But note that those scenarios are not supposed to be used with the
> current device, they are part of the automatic ballooning feature.
> I CC'ed you on the QEMU patch, you can find it here case you didn't
> see it:
> 
>  http://marc.info/?l=kvm&m=138988966315690&w=2

By "current device" I meant "outside of automatic ballooning scope".

  reply	other threads:[~2014-01-17  1:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-16 16:24 [RFC PATCH 0/4] virtio_balloon: add pressure notification via a new virtqueue Luiz Capitulino
2014-01-16 16:24 ` [RFC PATCH 1/4] vmpressure: in-kernel notifications Luiz Capitulino
2014-01-16 16:24 ` [RFC PATCH 2/4] vmpressure in-kernel: hack Luiz Capitulino
2014-01-16 16:24 ` [RFC PATCH 3/4] virtio_balloon: add pressure notification via a new virtqueue Luiz Capitulino
2014-01-16 22:40   ` Rusty Russell
2014-01-17  1:38     ` Luiz Capitulino
2014-01-17  1:43       ` Luiz Capitulino [this message]
2014-01-20  2:13       ` Rusty Russell
2014-01-20 14:59         ` Luiz Capitulino
2014-01-16 16:24 ` [RFC PATCH 4/4] virtio_balloon: skip inflation if guest is under pressure Luiz Capitulino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140116204351.7d48c2b9@redhat.com \
    --to=lcapitulino@redhat.com \
    --cc=aarcange@redhat.com \
    --cc=alitke@redhat.com \
    --cc=amit.shah@redhat.com \
    --cc=aquini@redhat.com \
    --cc=dfediuck@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=riel@redhat.com \
    --cc=rusty@rustcorp.com.au \
    --cc=vdavydov@parallels.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).