From: Ian Campbell Subject: Re: [PATCH v6 08/11] libxl: ocaml: drop the ocaml heap lock before calling into libxl Date: Tue, 10 Dec 2013 16:01:48 +0000 Message-ID: <1386691308.30568.54.camel@kazak.uk.xensource.com> References: <1386602250-29866-1-git-send-email-rob.hoes@citrix.com> <1386602250-29866-9-git-send-email-rob.hoes@citrix.com> <1386682445.30568.12.camel@kazak.uk.xensource.com> <360717C0B01E6345BCBE64B758E22C2D1A7FBF@AMSPEX01CL03.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <360717C0B01E6345BCBE64B758E22C2D1A7FBF@AMSPEX01CL03.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Rob Hoes Cc: Ian Jackson , Dave Scott , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Tue, 2013-12-10 at 14:51 +0000, Rob Hoes wrote: > > Can you remind me why this needs to be dynamically allocated please, > > preferably by adding the explanation to the commit message. > > It doesn't need to be. It just made the function a little nicer to use > (to me). I appreciate that C-experts may have better ways of doing > this :) OK, I suppose there is no need to respin for this then, perhaps just mention in the commit message that the aohow is being changed to be dynamically allocated because you think it is a better API. (unexplained changes in patches tend to make people twitchy, and are confusing as hell in 6 months time...) Ian