On 31/05/18 15:05, Marcello Seri wrote:
> When xenstore was updated to support safe-string, some unnecessary
> copies were introduced. A further patch reduced the copies at the price
> of many calls to unsafe conversions between bytes and strings. In the
> port we also did not notice that some C stubs were still incorrectly
> using ocaml strings as mutable payload.
> 
> This set of patches updates the C stubs that use mutable payloads passed
> from ocaml, and reduces the amount of unsafe conversions where possible
> without further increasing the number of copies.
> 
> This seems also to fix some unclear instabilities that appeared after
> the former patch introducing the unsafe conversion with some version of
> the ocaml compiler.
> 
> Marcello Seri (2):
>   ocaml/libs/xb: use bytes in place of strings for mutable buffers
>   ocaml/xenstored: reduce use of unsafe conversions

For the series:

Release-acked-by: Juergen Gross <jgr...@suse.com>


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to