From: Keir Fraser Subject: Re: [PATCH]: Allow Xen to boot/run on large memory (>64G) machines Date: Thu, 22 Feb 2007 07:50:04 +0000 Message-ID: References: <45DCE5F4.6060007@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45DCE5F4.6060007@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Chris Lalancette , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 22/2/07 00:38, "Chris Lalancette" 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. -- Keir