From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Hanquez Subject: [PATCH 0/5] xl ocaml: drop lock in the bindings Date: Tue, 10 Aug 2010 16:12:39 +0100 Message-ID: <1281453164-29013-1-git-send-email-vincent.hanquez@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Devel Cc: Vincent Hanquez List-Id: xen-devel@lists.xenproject.org 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. Resent with inline patches. 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(-)