From: Ian Campbell Subject: Re: [PATCH v2 4/8] xen: arm: only put_page for p2m operations which require it. Date: Thu, 12 Jun 2014 08:27:14 +0100 Message-ID: <1402558034.31087.59.camel@dagon.hellion.org.uk> References: <1402504640.16332.50.camel@kazak.uk.xensource.com> <1402504804-29173-4-git-send-email-ian.campbell@citrix.com> <5398CAB8.3010008@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5398CAB8.3010008@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2014-06-11 at 22:31 +0100, Julien Grall wrote: > Hi Ian, > > On 11/06/14 17:40, Ian Campbell wrote: > > diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c > > index 9960e17..ea05b6d 100644 > > --- a/xen/arch/arm/p2m.c > > +++ b/xen/arch/arm/p2m.c > > @@ -299,6 +299,23 @@ enum p2m_operation { > > CACHEFLUSH, > > }; > > > > +static void p2m_put_page(const lpae_t pte) > > NIT: I'm wondering we static inline would be better here. I trust the compiler to do what it thinks is best here. > > Acked-by: Julien Grall > > Regards, >