From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751981AbbH1Kna (ORCPT ); Fri, 28 Aug 2015 06:43:30 -0400 Received: from smtp.citrix.com ([66.165.176.89]:8893 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751409AbbH1Kn3 (ORCPT ); Fri, 28 Aug 2015 06:43:29 -0400 X-IronPort-AV: E=Sophos;i="5.17,424,1437436800"; d="scan'208";a="295480831" Message-ID: <55E03B4D.4040401@citrix.com> Date: Fri, 28 Aug 2015 11:43:25 +0100 From: David Vrabel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: Juergen Gross , , , , , Subject: Re: [Xen-devel] [PATCH] xen: avoid early crash of memory limited dom0 References: <1440003154-4520-1-git-send-email-jgross@suse.com> In-Reply-To: <1440003154-4520-1-git-send-email-jgross@suse.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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