WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Debian linux-image-2.6.32-4-xen-amd64 2.6.32-11 doesn't

To: Thomas Schwinge <thomas@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Debian linux-image-2.6.32-4-xen-amd64 2.6.32-11 doesn't boot with > 4 GiB; resets immediatelly, no log messages
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Sat, 08 May 2010 16:01:07 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, Ian Campbell <ijc@xxxxxxxxxxxxxx>
Delivery-date: Sat, 08 May 2010 16:02:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100508154636.GD4416@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100408113422.GD4183@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20100408133820.GA29832@xxxxxxxxxxxxxxxxxxx> <20100408221953.GG4183@xxxxxxxxxxxxxxxxxxxxxxxxxx> <4BBE5DF2.6040707@xxxxxxxx> <20100409180016.GA14029@xxxxxxxxxxxxxxxxxxxxxxxxxx> <4BBF7004.8000707@xxxxxxxx> <20100410221349.GM4183@xxxxxxxxxxxxxxxxxxxxxxxxxx> <4BC1013D.2020003@xxxxxxxx> <20100420111818.GA4416@xxxxxxxxxxxxxxxxxxxxxxxxxx> <4BD8A6F6.4020809@xxxxxxxx> <20100508154636.GD4416@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Lightning/1.0b2pre Thunderbird/3.0.4
On 05/08/2010 08:46 AM, Thomas Schwinge wrote:
>> From: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
>> Subject: [PATCH] xen/core: don't bother trying to free pages beyond the ones 
>> Xen gave us
>>
>> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
>>     
> 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>