From: "Jan Beulich" Subject: Re: [PATCH] Fix domheap structure allocation when NUMA=on Date: Fri, 20 Mar 2009 08:15:21 +0000 Message-ID: <49C35EA9.76E4.0078.0@novell.com> References: <49C32413.2030505@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <49C32413.2030505@intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xiaowei Yang Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> "Yang, Xiaowei" 20.03.09 06:05 >>> >DIRECTMAP_VIRT_END can't be passed to virt_to_mfn(), as it's just = beyond=20 >direct map boundary and triggers ASSERT very early at boot time. While I agree to the analysis, I would think that this + mfn + needed <=3D virt_to_mfn(DIRECTMAP_VIRT_END - = PAGE_SIZE) ) should rather be + mfn + needed <=3D virt_to_mfn(DIRECTMAP_VIRT_END - 1) + 1 ) Jan