From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Michal Novotny <minovotn@redhat.com>,
"'xen-devel@lists.xensource.com'" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] Disallow setting maxmem to higher value than total physical memory size
Date: Wed, 01 Sep 2010 09:53:55 -0700 [thread overview]
Message-ID: <4C7E8523.2080108@goop.org> (raw)
In-Reply-To: <1283345049.12544.9494.camel@zakaz.uk.xensource.com>
On 09/01/2010 05:44 AM, Ian Campbell wrote:
> On Wed, 2010-09-01 at 13:31 +0100, Michal Novotny wrote:
>> Hi,
>> this is the patch to disallow changing the maxmem value to higher value
>> than total physical memory size since without this patch I was able to
>> set dom0 maxmem to higher (invalid) value which is not correct.
> I think it is allowable for a domU though. Consider the scenario where
> you have two hosts, one of which has more physical RAM than the other.
> You may which to boot a domain on the smaller host, (i.e. booting
> ballooned with a current_pages suitable for the small host) and then
> migrate it to the large machine where you then want to be able to
> balloon to a value larger than was even possible on the previous
> machine.
But max-mem can change between hosts; on the small host it needn't have
a maxmem larger than the host's memory. (The domain itself may have a
larger notion of maxmem internally, but that's separate.)
J
next prev parent reply other threads:[~2010-09-01 16:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-01 12:31 [PATCH] Disallow setting maxmem to higher value than total physical memory size Michal Novotny
2010-09-01 12:44 ` Ian Campbell
2010-09-01 13:01 ` Michal Novotny
2010-09-01 13:37 ` Ian Campbell
2010-09-01 14:18 ` Michal Novotny
2010-09-01 14:21 ` Michal Novotny
2010-09-01 14:26 ` Jan Beulich
2010-09-01 14:50 ` Michal Novotny
2010-09-01 15:00 ` Jan Beulich
2010-09-01 15:10 ` Michal Novotny
2010-09-01 15:14 ` Jan Beulich
2010-09-01 15:20 ` Ian Campbell
2010-09-01 15:34 ` Michal Novotny
2010-09-01 16:53 ` Jeremy Fitzhardinge [this message]
2010-09-01 17:56 ` Ian Campbell
2010-09-01 18:15 ` Jeremy Fitzhardinge
2010-09-01 18:53 ` Ian Campbell
2010-09-01 21:10 ` Jeremy Fitzhardinge
2010-09-02 5:43 ` Ian Campbell
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=4C7E8523.2080108@goop.org \
--to=jeremy@goop.org \
--cc=Ian.Campbell@citrix.com \
--cc=minovotn@redhat.com \
--cc=xen-devel@lists.xensource.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.