WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 0/5] xl ocaml: drop lock in the bindings

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 0/5] xl ocaml: drop lock in the bindings
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Date: Tue, 10 Aug 2010 12:46:48 +0100
Cc: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Delivery-date: Tue, 10 Aug 2010 04:47:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This patchserie enable dropping the ocaml lock in the xl bindings.
also fix the META file generation to have a proper version number in ocaml 
libraries.

Vincent Hanquez (5):
  Put a valid version number in the META files.
  Wrap init context procedure into a macro. Introduce a gc structure.
  use new functions to get elements out of ocaml values.
  use new gc functions to deep copy structure and only free once the
    gc.
  always drop the caml lock during any xl operations.

 tools/ocaml/common.make        |    2 +-
 tools/ocaml/libs/xl/xl_stubs.c |  194 ++++++++++++++++++++++++---------------
 2 files changed, 120 insertions(+), 76 deletions(-)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel