From: "Jan Beulich" Subject: Re: [PATCH 3/4] move XENMEM_add_to_physmap_range handling framework to common code Date: Fri, 20 Dec 2013 09:27:57 +0000 Message-ID: <52B41BAD020000780010F6BB@nat28.tlf.novell.com> References: <52B1BF76020000780010EC02@nat28.tlf.novell.com> <52B1C0C9020000780010EC27@nat28.tlf.novell.com> <1387450122.9925.47.camel@kazak.uk.xensource.com> <52B406C0020000780010F5DA@nat28.tlf.novell.com> <1387530595.1025.62.camel@dagon.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VtwNE-0001HV-Bw for xen-devel@lists.xenproject.org; Fri, 20 Dec 2013 09:28:00 +0000 In-Reply-To: <1387530595.1025.62.camel@dagon.hellion.org.uk> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel , Tim Deegan , KeirFraser , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org >>> On 20.12.13 at 10:09, Ian Campbell wrote: > On Fri, 2013-12-20 at 07:58 +0000, Jan Beulich wrote: >> >>> On 19.12.13 at 11:48, Ian Campbell wrote: >> > Personally I think that having two redundant ways of doing the same >> > thing is the more pointless of the two. Especially given the need to >> > think a bit carefully about what XENMEM_add_to_physmap_range >> > XENMAPSPACE_gmfn_range might mean... >> >> Yes, that combination is bogus whichever perspective you take. >> To some degree also because "range" in the former name is really >> wrong - the operation doesn't deal with a range, but with a group >> (batch) of individual pages. > > That's true. I suppose there would be no harm in > #define XENMEM_add_to_physmap_batch 23 > #if __XEN_INTERFACE_VERSION__ < xxx > #define XENMEM_add_to_physmap_range XENMEM_add_to_physmap_batch. > #endif Indeed - patch being prepared. Jan