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>
Subject: Re: [Xen-devel] [PATCH]: Allow Xen to boot/run on large memory (>64G) machines
From: Chris Lalancette <clalance@xxxxxxxxxx>
Date: Thu, 22 Feb 2007 09:57:10 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Jan Beulich <jbeulich@xxxxxxxxxx>
Delivery-date: Thu, 22 Feb 2007 06:56:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C203238C.9EDE%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: <C203238C.9EDE%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501)
Keir Fraser wrote:
> On 22/2/07 10:33, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:
> 
> 
>>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).
> 
> 
> Oh, good point. :-) And it sounds like it makes sense to leave this alone
> for now and leave it to your patches.
> 

Ah, OK.  That will address the second concern.  Jan's right, I didn't actually
look at those patches.  Thanks for pointing them out.

> 
> It makes sense for the boot allocator to prefer to allocate from high memory
> if it can, rather then using what is currently the DMA pool (and, after your
> patches are applied, will be from relatively-narrow-address-width pools). So
> I think this patch is good and narrow enough in scope to go straight in
> (although I think the behaviour of alloc_boot_pages() should be changed
> rather than adding a new allocator function).

Yeah, I wasn't quite sure how far to go with this.  The frame table was the
worst offender, so I just went after that.  I can whip up a quick patch and test
it out here, changing the alloc_boot_pages() to always allocate from the top.

By the way, I assume we only want to do this for x86_64, yes?

Chris Lalancette

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