From: Ian Campbell Subject: Re: [PATCH v4 1/6] xen: improve changes to xen_add_to_physmap Date: Fri, 14 Sep 2012 14:17:40 +0100 Message-ID: <1347628660.24226.197.camel@zakaz.uk.xensource.com> References: <1345633688-31684-1-git-send-email-stefano.stabellini@eu.citrix.com> <1347627587.24226.192.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1347627587.24226.192.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , "Tim (Xen.org)" List-Id: xen-devel@lists.xenproject.org (forgot to CC Mukesh on y last mail like I said it would, I've done it now and will bounce the last one to you Mukesh) On Fri, 2012-09-14 at 13:59 +0100, Ian Campbell wrote: > > Might we prefer to have a batched version of this call? I don't think > we can shoehorn the necessary fields into xen_add_to_physmap_t though. Actually, talking about this we Stefano we think we can. Since both idx and gpfn are unsigned longs they can become unions with a GUEST_HANDLE without changing the ABI on x86_32 or x86_64. If we do this then we should do away with the singleton XENMAPSPACE_gmfn_foreign and just make it a batched interface. Ian.