[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v6 08/12] libxl: ocaml: drop the ocaml heap lock before calling into libxl
On Mon, 2013-12-02 at 14:06 +0000, Rob Hoes wrote:
> > > I think the value on the heap can still move around, but registering a
> > pointer to it as a root means that:
> > > 1. the value does not get dropped by the GC; 2. the root/pointer will
> > > be updated by the GC when the value itself moves,
> >
> > There is no way this #2 can happen, the C interface takes a "value *"
> > and therefore is only able to update the value and not the pointer to it.
>
> I think the confusion here is due to the word "value".
Indeed.
[...]
> I think we basically agree :)
Yes, sorry for the noise.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|