From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH] xen: release all pages within 1-1 p2m mappings Date: Thu, 29 Sep 2011 12:29:09 +0100 Message-ID: <4E845685.9080701@citrix.com> References: <1317228396-8870-5-git-send-email-david.vrabel@citrix.com> <1317294517-12614-1-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1317294517-12614-1-git-send-email-david.vrabel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: David Vrabel Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org Er. This was the wrong patch. I meant to repost "xen: allow extra memory to be in multiple regions" to remove unnecessary test of E820_UNUSABLE in xen_align_and_add_e820_region(). Sorry. David On 29/09/11 12:08, David Vrabel wrote: > From: David Vrabel > > In xen_memory_setup() all reserved regions and gaps are set to an > identity (1-1) p2m mapping. If an available page has a PFN within one > of these 1-1 mappings it will become inaccessible (as it MFN is lost) > so release them before setting up the mapping. > > [...]