From: Dmitry Torokhov <dtor@vmware.com>
To: Chetan Loke <chetanloke@gmail.com>
Cc: "pv-drivers@vmware.com" <pv-drivers@vmware.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>
Subject: Re: [PATCH] VMware balloon: force compiling as a module
Date: Wed, 30 Jun 2010 12:27:08 -0700 [thread overview]
Message-ID: <201006301227.08709.dtor@vmware.com> (raw)
In-Reply-To: <AANLkTimmIG6GF-hKBk7JsZpvZNEAj1Tlt4GrPXexN0_0@mail.gmail.com>
Hi Chetan,
On Wednesday, June 30, 2010 11:42:53 am Chetan Loke wrote:
> > From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-
> > owner@vger.kernel.org] On Behalf Of Dmitry Torokhov
> > Sent: June 28, 2010 7:01 PM
> > VMware Tools installer requires the upstream driver to be compiled
> > as a module in order to detect its presence and avoid installing
> > our own version on top of it. To avoid surprises with 2 versions
> > of the driver being installed and fighting with each other, let's
> > force the driver to be compiled as a module unless user selects
> > CONFIG_EMBEDDED.
> >
> > config VMWARE_BALLOON
> >
> > tristate "VMware Balloon Driver"
> >
> > - depends on X86
> > + depends on X86 && (EMBEDDED || m)
>
> None of the following questions are related to this patch.
>
> Q1)Does vmtools handle pvscsi correctly?
>
Yes, as long as it compiled as a module or installer will not overwrite
distribution-supplied version unless user explicitly requests installer
to clobber it.
So far distributions have not tried building their kernels with pvscsi
or vmxnet3 built-in, but did so with our ballon driver, which prompted
this particular change.
> Q2)In case if a VM wants to be a good citizen, is there a way for a
> guest to know about the balloon-event?
I am not sure I follow. Ballooning supposed to be as transparent as
possible...
>
> Q3)What if an app mlock's its memory resources and driver's have
> pinned down their pages then how does inflation work?
We will inflate as much as we can. Obviously if there are no more
memory balloon may not grow to its full target size.
Balloon driver communicates to the hypervisor the total amount of
memory in the guest, we may want to adjust that number by subtracting
memory allocated by the kernel, mlocked memory and so on, but it is
not done currently.
Thanks.
--
Dmitry
>
>
> regards
> Chetan Loke
next prev parent reply other threads:[~2010-06-30 19:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-30 18:42 [PATCH] VMware balloon: force compiling as a module Chetan Loke
2010-06-30 19:27 ` Dmitry Torokhov [this message]
2010-06-30 21:26 ` Chetan Loke
2010-06-30 21:39 ` Dmitry Torokhov
-- strict thread matches above, loose matches on Subject: below --
2010-06-28 23:00 Dmitry Torokhov
2010-06-29 8:27 ` Alexander Clouter
2010-06-29 16:28 ` Bruno Prémont
2010-06-29 16:40 ` Dmitry Torokhov
2010-07-01 22:18 ` Andrew Morton
2010-07-01 22:31 ` Dmitry Torokhov
2010-07-01 22:43 ` Andrew Morton
2010-07-01 22:59 ` Dmitry Torokhov
2010-07-02 8:09 ` Alexander Clouter
2010-06-29 16:39 ` Dmitry Torokhov
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=201006301227.08709.dtor@vmware.com \
--to=dtor@vmware.com \
--cc=akpm@linux-foundation.org \
--cc=chetanloke@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pv-drivers@vmware.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