All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Josip Rodin <joy@entuzijast.net>
Cc: xen-devel@lists.xensource.com,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: upstream merge status for 2.6.35, .36?
Date: Mon, 07 Jun 2010 11:33:36 -0700	[thread overview]
Message-ID: <4C0D3B80.9060807@goop.org> (raw)
In-Reply-To: <20100607171218.GA9289@orion.carnet.hr>

On 06/07/2010 10:12 AM, Josip Rodin wrote:
> On Mon, Jun 07, 2010 at 10:57:43AM -0400, Konrad Rzeszutek Wilk wrote:
>   
>>> so the end-result should be bulletproof (as much as it can be :).
>>>       
>> There are some outstanding issues that we know of. I hadn't yet gotten
>> my head around them, but here is a list of Xen PCI frontend bugs:
>>
>> 1). Pass in 4GB or more to DomU. All the memory that the guest sees are
>> RAM and there are no "holes" for the PCI devices, akin to what you have
>> on a normal machine (the hole is 256MB and it shifts 256MB of RAM above
>> the 4GB - we don't do that yet in DomU). Workaround: use less memory, or
>> some magic Linux kernel parameter (memhole?) to create a hole.
>>     
> Does this just mean you can't have PCI frontend in those domUs?
> IOW it may be a regression compared to Xen .18, but not compared to what's
> in mainline at the moment?
>   

We actually have the same problem in dom0, but the fix is to simply
punch a hole in the memory map to make space for the pci devices where
the host e820 maps make holes.  The memory in the hole is freed back to
Xen, so it isn't wasted, but it means that if you want to start a domain
with 4G of usable memory, you need to give it something like 5G.

For domU we don't have direct access to the host e820 map to determine
where the holes are.  I think we could just punch out the 3-4G range and
everything would be happy.  But you'd have the same problem that there
would be a big step in the amount of usable memory you could give a domain.

Probably the best fix is to relocate the memory higher up the address
space rather than free it, so that its still usable by the domain.

Anyway, this isn't a huge thing to fix.  It just requires a bit of
thought about how its all going to fit together.

    J

  parent reply	other threads:[~2010-06-07 18:33 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-04 22:39 upstream merge status for 2.6.35, .36? Josip Rodin
2010-06-05  0:20 ` Jeremy Fitzhardinge
2010-06-05 12:51   ` Josip Rodin
2010-06-06  0:36     ` Jeremy Fitzhardinge
2010-06-06  7:36       ` upstream merge status for 2.6.35, .36? PV on HVM Xen Boris Derzhavets
2010-06-07  7:48   ` upstream merge status for 2.6.35, .36? Pasi Kärkkäinen
2010-06-07  8:32     ` Josip Rodin
2010-06-07 14:57       ` Konrad Rzeszutek Wilk
2010-06-07 15:24         ` Sander Eikelenboom
2010-06-07 16:15           ` Konrad Rzeszutek Wilk
2010-06-07 17:12         ` Josip Rodin
2010-06-07 18:07           ` Konrad Rzeszutek Wilk
2010-06-07 18:33           ` Jeremy Fitzhardinge [this message]
2010-06-08  7:57             ` Failure to start xend with 2.6.32.15 (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0 Boris Derzhavets
2010-06-08 17:29               ` Jeremy Fitzhardinge
2010-08-04 19:44         ` upstream merge status for 2.6.35, .36? Josip Rodin
2010-08-04 20:11           ` Konrad Rzeszutek Wilk
2010-08-04 21:09             ` Łukasz Oleś
2010-08-04 21:38             ` Josip Rodin
2010-08-05 15:22               ` Konrad Rzeszutek Wilk
2010-08-07 22:50                 ` Josip Rodin
2010-08-08  1:02                   ` Jeremy Fitzhardinge
2010-06-07 16:47     ` Jeremy Fitzhardinge

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=4C0D3B80.9060807@goop.org \
    --to=jeremy@goop.org \
    --cc=joy@entuzijast.net \
    --cc=konrad.wilk@oracle.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.