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] numa=on broken

To: Ryan Harper <ryanh@xxxxxxxxxx>
Subject: Re: [Xen-devel] numa=on broken
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Fri, 30 Mar 2007 13:48:42 -0500
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 30 Mar 2007 19:49:06 +0100
Envelope-to: Keir.Fraser@xxxxxxxxxxxx
In-reply-to: <20070330184620.GV28736@xxxxxxxxxx>
References: <20070330180853.GT28736@xxxxxxxxxx> <C23312CA.52E9%Keir.Fraser@xxxxxxxxxxxx> <20070330182058.GU28736@xxxxxxxxxx> <20070330184620.GV28736@xxxxxxxxxx>
User-agent: Mutt/1.5.6+20040907i
* Ryan Harper <ryanh@xxxxxxxxxx> [2007-03-30 13:46]:
> * Ryan Harper <ryanh@xxxxxxxxxx> [2007-03-30 13:36]:
> > * Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> [2007-03-30 13:17]:
> > > 
> > > 
> > > 
> > > On 30/3/07 19:08, "Ryan Harper" <ryanh@xxxxxxxxxx> wrote:
> > > 
> > > >> So -- can we ensure that the node that owns low memory is node zero?
> > > > 
> > > > AFAIK, that is the case, look at the SRAT table:
> > > > 
> > > > (XEN) SRAT: Node 0 PXM 0 0-a0000
> > > > (XEN) SRAT: Node 0 PXM 0 0-e0000000
> > > > (XEN) SRAT: Node 1 PXM 1 100000000-200000000
> > > 
> > > What if you move end_boot_allocator() to just before 'early_boot = 0' in
> > > arch/x86/setup.c?
> > 
> > Giving that a shot.  
> 
> Didn't work, just pushes the bubble back to allocating the array for
> NODE0:

Ah, top of end_boot_allocator assings avail[0] to avail0.  Looks like
there is some heap/avail initiliazation that needs to be done
seperately.



-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@xxxxxxxxxx