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

[Xen-devel] Re: [PATCH] libxenlight: clone context to avoid GC corruption



On Wed, Dec 02, 2009 at 10:09:10PM +0000, Andres Lagar-Cavilla wrote:
> Provide a function to clone a context. This is necessary
> because simply copying the structs will eventually
> corrup the GC: maxsize is updated in the cloned context
> but not in the originating one, yet they have the same
> array of referenced pointers alloc_ptrs.

I think this doesn't answer the question of why you need this function
at all. I don't think you should clone the context nor share it.

-- 
Vincent

_______________________________________________
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®.