From patchwork Thu Aug 27 17:35:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?RWR3aW4gVMO2csO2aw==?= X-Patchwork-Id: 11741187 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7861A14E5 for ; Thu, 27 Aug 2020 17:37:08 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 510C12087E for ; Thu, 27 Aug 2020 17:37:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="Nb6Dt6Ut" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 510C12087E Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kBLoF-0004ry-5N; Thu, 27 Aug 2020 17:35:35 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kBLoE-0004rt-8G for xen-devel@lists.xenproject.org; Thu, 27 Aug 2020 17:35:34 +0000 X-Inumbo-ID: b6c549ff-6033-4788-962e-6895ba9aad50 Received: from esa5.hc3370-68.iphmx.com (unknown [216.71.155.168]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id b6c549ff-6033-4788-962e-6895ba9aad50; Thu, 27 Aug 2020 17:35:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1598549732; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=lyIMLQgobWP6SfFovRBnvrbWsVl1xSh+kg+RmumeOgM=; b=Nb6Dt6Ut1R1hXvdjnPXpeqeM0MUW3pceQ4FfIzFS3rwv8zgSBCRtDSva wdzTxQiJ/H9+cjSz3td4IeQF7+0QTZDKh7a3OjkRS2CS2IwcwqwGPJP47 nWWtnW0MluqoRBf2DxxR+1gfkmGrAkWz29zYxIkOFxfyRWWR2NoJnMrY9 8=; Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: 3k5N05/gXAvNWrxr1q3wkU42/Vbl7evkkGeg2HCktzeRwIy7vn7ZyyeY3DSKHv4MWbJWTehw0H 530rmZ7eK+B98NVEGov4r9rs6APixjhAglMArmy0HMYblOXOcL0mHCFBORuDXZsaG5pd/ui/y8 obnDiV5f9bhn3KSNlaz/F9R+eTelKg5YS+olE++MVKU16D5aBvVKFuoK+hsYQICD4oseFn6eTh L5EsgYqkZoyLShcEzOSyy4ATYOSxAG1sb66h4Jo7gGJCy4U3O64NBnH0HUp86T3bdOOYxkcT1V WH4= X-SBRS: 2.7 X-MesageID: 25595221 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.76,360,1592884800"; d="scan'208";a="25595221" From: =?utf-8?b?RWR3aW4gVMO2csO2aw==?= To: CC: =?utf-8?b?RWR3aW4gVMO2csO2aw==?= , "Christian Lindig" , David Scott , "Ian Jackson" , Wei Liu Subject: [PATCH v4 0/4] tools/ocaml/xenstored: simplify code Date: Thu, 27 Aug 2020 18:35:15 +0100 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" This refreshes the V3 patches to work with OCaml 4.02. Upgrading to 4.06 will come as a separate series. This patch is new in V4, the other patches were already acked in V3: [PATCH v4 2/4] Map: backport find_opt/update from 4.06 A git tree with this and other series is available at: https://gitlab.com/edwintorok/xen/-/compare/master...for-upstream Edwin Török (4): tools/ocaml/xenstored: replace hand rolled GC with weak GC references Map: backport find_opt/update from 4.06 tools/ocaml/xenstored: use more efficient node trees tools/ocaml/xenstored: use more efficient tries tools/ocaml/xenstored/connection.ml | 3 -- tools/ocaml/xenstored/connections.ml | 2 +- tools/ocaml/xenstored/history.ml | 14 ------ tools/ocaml/xenstored/stdext.ml | 21 +++++++++ tools/ocaml/xenstored/store.ml | 49 +++++++++---------- tools/ocaml/xenstored/symbol.ml | 70 +++++++--------------------- tools/ocaml/xenstored/symbol.mli | 22 +++------ tools/ocaml/xenstored/trie.ml | 61 +++++++++++------------- tools/ocaml/xenstored/trie.mli | 26 +++++------ tools/ocaml/xenstored/xenstored.ml | 16 +------ 10 files changed, 110 insertions(+), 174 deletions(-)