[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools/ocaml: Release the global lock before invoking block syscalls
> On 8 Oct 2018, at 04:10, Yang Qian <krizex@xxxxxxxxx> wrote: > > Functions related with event channel are parallelizable, so release global > lock before invoking C function which will finally call block syscalls. > > Signed-off-by: Yang Qian <yang.qian@xxxxxxxxxx> > --- > tools/ocaml/libs/eventchn/xeneventchn_stubs.c | 30 +++++++++++++++++++++++++-- > 1 file changed, 28 insertions(+), 2 deletions(-) Acked-by: Christian Lindig <christian.lindig@xxxxxxxxxx> From an OCaml point of view this is looking good. But I would like to hear from developers understanding event channels that this is indeed safe to do. — Christian _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |