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] pagetable cleanups

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [patch] pagetable cleanups
From: Mark Williamson <maw48@xxxxxxxxxxxx>
Date: Thu, 14 Apr 2005 15:48:12 +0100
Cc: Michael A Fetterman <Michael.Fetterman@xxxxxxxxxxxx>, Gerd Knorr <kraxel@xxxxxxxxxxx>
Delivery-date: Thu, 14 Apr 2005 15:12:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050414150150.GA28071@bytesex>
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: <20050412185856.GA5832@bytesex> <E1DM3Pa-0002e4-00@xxxxxxxxxxxxxxxxx> <20050414150150.GA28071@bytesex>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
> Yes, was intentionally.  I think that isn't bad, it makes the code more
> readable.  And I think it actually is impossible to return structs in C,
> you can only return a pointer to a struct, which would't help for the
> "building entries as expressions" case.

Returning structs by values works with GCC.  That said, I've never checked 
whether that's standard or a GCC extension.  For big structs I think it 
transparently generates a memcpy, don't know what it generates for little 
ones.

Cheers,
Mark

>
> > 5) I found a couple compilation problems when by compiling with
> > debug=y...
>
> Merged, thanks.
>
> Current patch set is at http://dl.bytesex.org/patches/xen-2/ now
> (issue #4 isn't adressed yet).
>
>   Gerd
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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