From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [Xen-devel] [PATCH] xen: avoid early crash of memory limited dom0 Date: Fri, 28 Aug 2015 11:43:25 +0100 Message-ID: <55E03B4D.4040401@citrix.com> References: <1440003154-4520-1-git-send-email-jgross@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1440003154-4520-1-git-send-email-jgross@suse.com> Sender: linux-kernel-owner@vger.kernel.org To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com, konrad.wilk@oracle.com, david.vrabel@citrix.com, boris.ostrovsky@oracle.com List-Id: xen-devel@lists.xenproject.org On 19/08/15 17:52, Juergen Gross wrote: > Commit b1c9f169047b ("xen: split counting of extra memory pages...") > introduced an error when dom0 was started with limited memory. > > The problem arises in case dom0 is started with initial memory and > maximum memory being the same and exactly a multiple of 1 GB. The > kernel must be configured without CONFIG_XEN_BALLOON_MEMORY_HOTPLUG > for the problem to happen. In this case it will crash very early > during boot due to the virtual mapped p2m list not being large > enough to be able to remap any memory: Applied to for-linus-4.3, thanks. David