From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Thomas Schwinge <thomas@schwinge.name>
Cc: xen-devel@lists.xensource.com,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Ian Campbell <ijc@hellion.org.uk>
Subject: Re: Debian linux-image-2.6.32-4-xen-amd64 2.6.32-11 doesn't boot with > 4 GiB; resets immediatelly, no log messages
Date: Sat, 08 May 2010 16:01:07 -0700 [thread overview]
Message-ID: <4BE5ED33.2050705@goop.org> (raw)
In-Reply-To: <20100508154636.GD4416@kepler.schwinge.homeip.net>
On 05/08/2010 08:46 AM, Thomas Schwinge wrote:
>> From: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
>> Subject: [PATCH] xen/core: don't bother trying to free pages beyond the ones Xen gave us
>>
>> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
>>
> I put this on top of Debian linux-2.6 2.6.32-11, which is based on
> f64df18aae5ab07b44bdcc2334cf0044ef46320c of
> git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git. Please
> tell me if I shall put it on top of another version.
>
> The patch does mitigate / hide the problem, as the 100000000 to 120000000
> pages are now chopped off (which is not what you intended to do, as I
> understood it):
>
No, it looks like its working as expected, though its perhaps not ideal
if you want to give dom0 all host memory. Xen is giving dom0 ~4G of
pages, from 0-4G in pseudo-physical space. Unfortunately that overlaps
with the PCI window which is somewhere in the 3-4G range. While in
theory they're in distinct address spaces (pseudo-phys vs machine phys),
it is too hard to deal with that (it is not a concept that Linux really
understands). The hardware avoids the PCI hole by remapping the memory
to above 4G, but that's not visible to dom0.
The end result is that some memory Xen gave dom0 in the PCI hole can't
be used, but rather than wasting it we just free it back to Xen. It
will get used as soon as you start up a domain (or, in principle, you
could balloon it back into dom0, but we don't currently support that).
J
next prev parent reply other threads:[~2010-05-08 23:01 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-08 11:34 Debian linux-image-2.6.32-4-xen-amd64 2.6.32-11 doesn't boot with > 4 GiB; resets immediatelly, no log messages Thomas Schwinge
2010-04-08 13:38 ` Konrad Rzeszutek Wilk
2010-04-08 13:42 ` Ian Campbell
2010-04-08 22:19 ` Thomas Schwinge
2010-04-08 22:51 ` Jeremy Fitzhardinge
2010-04-09 18:00 ` Thomas Schwinge
2010-04-09 18:20 ` Jeremy Fitzhardinge
2010-04-10 22:13 ` Thomas Schwinge
2010-04-10 22:52 ` Jeremy Fitzhardinge
2010-04-11 9:49 ` Thomas Goirand
2010-04-12 19:34 ` Jeremy Fitzhardinge
2010-04-13 1:20 ` Thomas Goirand
2010-04-13 6:02 ` Pasi Kärkkäinen
2010-04-13 9:48 ` Thomas Goirand
2010-04-13 9:52 ` Pasi Kärkkäinen
2010-04-13 10:08 ` Thomas Goirand
2010-04-13 19:50 ` Jeremy Fitzhardinge
2010-04-13 22:27 ` Thomas Goirand
2010-04-13 23:16 ` Mike Viau
2010-04-13 23:59 ` Jeremy Fitzhardinge
2010-04-14 5:48 ` Thomas Goirand
2010-04-20 11:18 ` Thomas Schwinge
2010-04-20 18:19 ` Jeremy Fitzhardinge
2010-04-28 21:21 ` Jeremy Fitzhardinge
2010-05-08 15:46 ` Thomas Schwinge
2010-05-08 23:01 ` Jeremy Fitzhardinge [this message]
2010-05-10 9:48 ` Thomas Schwinge
2010-04-09 18:52 ` Konrad Rzeszutek Wilk
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=4BE5ED33.2050705@goop.org \
--to=jeremy@goop.org \
--cc=ijc@hellion.org.uk \
--cc=konrad.wilk@oracle.com \
--cc=thomas@schwinge.name \
--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.