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:15:41 +0000 Message-ID: <1387530941.1025.65.camel@dagon.hellion.org.uk> References: <1387503680-2850-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VtwBN-0008GK-Ta for xen-devel@lists.xenproject.org; Fri, 20 Dec 2013 09:15:46 +0000 In-Reply-To: <1387503680-2850-1-git-send-email-julien.grall@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: 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 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). Ian.