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-ia64-devel

Re: [Xen-ia64-devel] [patch 1/5] sn2+machvec support

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-ia64-devel] [patch 1/5] sn2+machvec support
From: Jes Sorensen <jes@xxxxxxx>
Date: Thu, 14 Dec 2006 10:57:02 +0100
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 14 Dec 2006 01:56:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1166055164.5653.36.camel@lappy>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <45803465.1010703@xxxxxxx> <1166055164.5653.36.camel@lappy>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060527)
Alex Williamson wrote:
> Hi Jes,
> 
>    Thanks for the cleanup.  I've added most of these to the mercurial
> tree here:
> 
> http://free.linux.hp.com/~awilliam/xen-ia64-machvec/
> 
> I found a couple more README.origin files that needed updating and
> reworked parts of patch 4 (adding lots more #ifdef XEN where code was
> simply added or removed before).  Overall, it looks pretty good.  The
> things not in this tree are the updates to sn_sal.h and list.h.
>
>    The sn_sal.h in the patch looked like a mix of various upstream
> versions of the file.  I re-based sn_sal.h in the tree above to 2.6.19,
> please re-implement the Xen fixes against that version.

Thats why I didn't add sn_sal.h to the README.origin since it was
unclear where it came from and I just added the bits I needed. Syncing
it to 2.6.19 should be ok though.

>    The Xen list.h doesn't seem to cleanly match any upstream Linux base,
> which makes me suspicious that it's had functionality intentionally
> pruned out of it.  Did you figure out what it's currently based on?  I'm
> wondering if we should try to only include the subset of functionality
> we need rather than move the whole file forward.  It's probably worth a
> discussion on xen-devel to make sure we don't get any surprises when we
> try to merge it upstream.  Thanks,

list.h is strange issue. It was clearly taken from Linux, prior to the
klist support being added, but nobody bothered to mark why they took
which bits and left out other bits. Figuring that part out is impossible
unless the original author will admit what he did. Given that list.h is
solely macros  and inlines, it shouldn't be an issue to add it to the
main thing.

I would prefer we simply add my changes and go from there, but we can
also try and resync it completely to the Linux version and fix that up.
The main problem is that the Linux version provides RCU versions of a
lot of list functions, but Xen doesn't have RCU support .... yet (but
that is a totally different discussion we have to look into later).

Cheers,
Jes

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

<Prev in Thread] Current Thread [Next in Thread>