[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [patch] pagetable cleanups



> 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.