From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH 1/3] x86: calculate precisely the memory needed by init_memory_mapping Date: Mon, 20 Jun 2011 15:37:33 -0700 Message-ID: <4DFFCBAD.9040507@linux.intel.com> References: <1307470409-7654-1-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1307470409-7654-1-git-send-email-stefano.stabellini@eu.citrix.com> Sender: linux-kernel-owner@vger.kernel.org To: stefano.stabellini@eu.citrix.com Cc: hpa@zytor.com, konrad.wilk@oracle.com, mingo@elte.hu, linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com, yinghai@kernel.org List-Id: xen-devel@lists.xenproject.org On 06/07/2011 11:13 AM, stefano.stabellini@eu.citrix.com wrote: > > - remove the extra page added on x86_32 for the fixmap because is not > needed: the PMD entry is already allocated and contiguous for the whole > range (a PMD page covers 4G of virtual addresses) and the pte entry is > already allocated by early_ioremap_init. > Hi Stefano, I think this is wrong. A PMD page covers *1G* of virtual addresses, and in the 2+2 and 1+3 memory configurations, we may or may not need a separate PMD for the fixmap. Am I missing something? -hpa