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] [PATCH]: Allow Xen to boot/run on large memory (>64G) ma

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Chris Lalancette" <clalance@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH]: Allow Xen to boot/run on large memory (>64G) machines
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Thu, 22 Feb 2007 10:33:30 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 22 Feb 2007 02:31:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C202FBAC.270D%Keir.Fraser@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <45DCE5F4.6060007@xxxxxxxxxx> <C202FBAC.270D%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> 22.02.07 08:50 >>>
>On 22/2/07 00:38, "Chris Lalancette" <clalance@xxxxxxxxxx> wrote:
>
>>      Note that this is not the end of the story, however.  For even larger
>> machines, it can *still* be the case that the allocation in construct_dom0()
>> fails; in particular, if the order goes above 17, it will fail in the same
>> way.
>>  One way to fix it would be to just allocate that memory out of the normal
>> zone
>> for x86_64, as well; however, I'm not sure if this will break anything else.
>> Any comments?
>
>If there are no users of alloc_boot_pages() expecting low memory to be
>returned then we can adjust the implementation of that existing function
>rather than introduce a new one.
>
>As for domain_build() there are two considerations: firstly that the
>allocation is contiguous and secondly that it is from the DMA pool. The
>builder makes simplifying assumptions based on contiguity. The allocation
>from DMA pool I think I've tried to get rid of before -- I think I was
>scuppered by something as simple as the PAE pgdir needing to be allocated
>from low memory. I think we can stop allocating from the DMA pool, at least
>for non-PAE host.

The page allocator changes that I posted a while back probably haven't
been looked at so fat, given the above comments. The patch that kills the
DMA pool changes x86-64 to allocate the dom0 memory without restriction
(i386 has to remain restricted, yet not because of DMA address issues, but
in order to be able to see the memory in the 1:1 mapping).

Likewise, I'm not certain the changes presented here make a lot of sense
in the context of the elimination of the DMA pool and the resulting desire
to unify xen heap and domain heap on x86-64.

Jan

Jan

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