From: Ian Campbell Subject: Re: [PATCH v2] xen: arm: process XENMEM_add_to_physmap_range forwards not backwards. Date: Wed, 18 Dec 2013 15:51:36 +0000 Message-ID: <1387381896.28680.51.camel@kazak.uk.xensource.com> References: <1387373954-31668-1-git-send-email-ian.campbell@citrix.com> <52B1BA69020000780010EBA6@nat28.tlf.novell.com> <1387377476.28680.35.camel@kazak.uk.xensource.com> <52B1C6FA020000780010ECEF@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VtJPd-0004dE-Hy for xen-devel@lists.xenproject.org; Wed, 18 Dec 2013 15:51:53 +0000 In-Reply-To: <52B1C6FA020000780010ECEF@nat28.tlf.novell.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: Jan Beulich Cc: stefano.stabellini@eu.citrix.com, julien.grall@linaro.org, tim@xen.org, george.dunlap@citrix.com, xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2013-12-18 at 15:02 +0000, Jan Beulich wrote: > >>> On 18.12.13 at 15:37, Ian Campbell wrote: > > On Wed, 2013-12-18 at 14:08 +0000, Jan Beulich wrote: > >> >>> On 18.12.13 at 14:39, Ian Campbell wrote: > >> > Jan points out that processing the list backwards is rather counter > > intuitive > >> > and that the effect of the hypercall can differ between forwards and > >> > backwards > >> > processing (e.g. in the presence of duplicate idx or gpfn, which would be > >> > unusualy but as Jan says, users are a creative bunch) > >> > > >> > Signed-off-by: Ian Campbell > >> > >> Reviewed-by: Jan Beulich > > > > Thanks. I've applied without waiting for a further ARM maintainer ack > > since the nature of the change is not really specifc to arm > > > > (I fixed the "unusualy" typo I spotted above as I went). > > > > Just to confirm -- Are you going to make this not writeback its params > > while you fix the x86 equivalent? I can take a look if not. > > You've seen the patches meanwhile I guess - the answer is yes, Yes, I saw, thanks! > but by way of making the framework code common rather than > fixing it in both ARM and x86 separately. That certainly makes sense. Ian.