From: Ian Campbell Subject: Re: [PATCH v2] xen/arm: p2m: Don't create new table when the mapping is removed Date: Fri, 20 Dec 2013 09:57:06 +0000 Message-ID: <1387533426.17289.24.camel@kazak.uk.xensource.com> References: <1387503680-2850-1-git-send-email-julien.grall@linaro.org> <1387530941.1025.65.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.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VtwpU-0003Pk-D0 for xen-devel@lists.xenproject.org; Fri, 20 Dec 2013 09:57:12 +0000 In-Reply-To: <1387530941.1025.65.camel@dagon.hellion.org.uk> 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: George Dunlap , xen-devel@lists.xenproject.org, tim@xen.org, stefano.stabellini@citrix.com, patches@linaro.org List-Id: xen-devel@lists.xenproject.org On Fri, 2013-12-20 at 09:15 +0000, Ian Campbell wrote: > On Fri, 2013-12-20 at 01:41 +0000, Julien Grall wrote: > > When Xen is removing/relinquishing mapping, it will create second/third tables > > if they don't exist. > > > > Non-existent table means the address range was never mapped, so Xen can safely > > skip them. > > > > Signed-off-by: Julien Grall > > Acked-by: Stefano Stabellini > > > > --- > > Release: This is an improvement for Xen 4.4. It will save time during > > relinquish phase and avoid dummy allocation. > > (Release: implies it should have been CCd to George) > > I would go further than what you say though: This is removing a > potential guest induced long running operation and is therefore a clear > bug fix (and a potential security bug at that). I intend to apply this > (assuming it is OK, I haven't actually read this version yet). and on that basis now acked + applied. Ian.