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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Re: [PATCH 1/6][RESEND] xen: Add NUMA support to Xen

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH 1/6][RESEND] xen: Add NUMA support to Xen
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: 2006年5月15日 12:27:08 -0500
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, Ryan Grimm <grimm@xxxxxxxxxx>
Delivery-date: 2006年5月15日 10:27:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <398b24ac6e2efe186405c7014f89bbd5@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: <20060501215648.GU16776@xxxxxxxxxx> <28761a939c7a83af7fa1c34e8700025f@xxxxxxxxxxxx> <20060512151223.GD16876@xxxxxxxxxx> <095d150f0370d6aeb03f23253d0ccaac@xxxxxxxxxxxx> <p73lkt35k38.fsf@xxxxxxxxxxxxx> <70145f7d61d476ea095803ce06d3cb93@xxxxxxxxxxxx> <20060515171105.GK16876@xxxxxxxxxx> <398b24ac6e2efe186405c7014f89bbd5@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
* Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> [2006年05月15日 12:18]:
>
> On 15 May 2006, at 18:11, Ryan Harper wrote:
>
> >When I looked at the x86_64 NUMA code, I noticed that SRAT parsing was
> >done by ACPI_NUMA (drivers/acpi/numa.c). That code requires more ACPI
> >support than Xen currently has available. Rather than pulling in all 
> >of
> >that ACPI, I chose to start with the i386 SRAT table parser which was
> >sufficient for both i386 and x86_64. I would think that using the
> >modified i386 srat.c for parser gets the job done without bringing in
> >all of the support needed to compile drivers/acpi/numa.c in Xen.
> >
> >How about putting the two together: use the i386 SRAT parser and the
> >x86_64 srat.c for structures and initialization?
>
> I guess it depends how cleanly it can be done. Can we use the x86/64 
> logic pretty much unmodified, but then pull in bits of the i386 parsing 
> code as functions that the x86/64 code calls rather than the full-blown 
> acpi routines it would usually call into? Or would it be possible to 
> pull in drivers/acpi/numa.c without also having to pull in all 80kloc+ 
> of acpi crap? This probably needs some thought and/or experimentation!
Well, I *tried* to use drivers/acpi/numa.c first, and I quit after I had
to pull in more than few headers; it was just too intertwined. I think
using the i386 parser and calling into the x86_64 logic should be
do-able. I'll give it a go and post back here with the results.
-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253 T/L: 678-9253
ryanh@xxxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Re: [PATCH 1/6][RESEND] xen: Add NUMA support to Xen , Andi Kleen
Next by Date: [Xen-devel] Re: [PATCH 1/3] xenoprof fixes: sleep with interrupts disabled , Markus Armbruster
Previous by Thread: Re: [Xen-devel] Re: [PATCH 1/6][RESEND] xen: Add NUMA support to Xen , Andi Kleen
Next by Thread: Re: [Xen-devel] Re: [PATCH 1/6][RESEND] xen: Add NUMA support to Xen , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /