From: Anthony Liguori <aliguori@us.ibm.com>
To: Andrea Arcangeli <andrea@qumranet.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>,
Avi Kivity <avi@qumranet.com>, KVM list <kvm@vger.kernel.org>
Subject: Re: Balloon device in qemu?
Date: Sun, 03 Aug 2008 20:05:44 -0500 [thread overview]
Message-ID: <489655E8.4070401@us.ibm.com> (raw)
In-Reply-To: <20080802130123.GK27246@duo.random>
Andrea Arcangeli wrote:
> On Fri, Aug 01, 2008 at 02:47:39PM -0500, Anthony Liguori wrote:
>
>> Is there a way to detect MMU notifiers from userspace? I don't think it's
>> currently safe to madvise unconditionally.
>>
>
> There is no way to detect mmu notifiers from userspace (well strictly
> speaking you could check /proc/kallsyms) but the point is that without
> mmu notifiers madvise won't be enough (the memory may not be freed
> without the other ioctl proposed by Marcelo that also flushes sptes).
>
Right. Ideally, I'd like to just disable the balloon device if mmu
notifiers *and* kvm support for it are not present. If you're saying
there is no way to probe for this now from userspace, then that's
something we need to add.
Regards,
Anthony Liguori
next prev parent reply other threads:[~2008-08-04 1:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-31 13:01 Balloon device in qemu? Avi Kivity
2008-08-01 19:06 ` Marcelo Tosatti
2008-08-01 19:47 ` Anthony Liguori
2008-08-02 13:01 ` Andrea Arcangeli
2008-08-04 1:05 ` Anthony Liguori [this message]
2008-08-04 8:32 ` Gerd Hoffmann
2008-08-04 11:56 ` Andrea Arcangeli
2008-08-18 14:00 ` Avi Kivity
2008-08-18 14:03 ` Anthony Liguori
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=489655E8.4070401@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=andrea@qumranet.com \
--cc=avi@qumranet.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.