From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752051AbbCTNmZ (ORCPT ); Fri, 20 Mar 2015 09:42:25 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:51064 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750852AbbCTNmY (ORCPT ); Fri, 20 Mar 2015 09:42:24 -0400 Date: Fri, 20 Mar 2015 14:42:08 +0100 From: Daniel Kiper To: Juergen Gross Cc: linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com, konrad.wilk@oracle.com, david.vrabel@citrix.com, boris.ostrovsky@oracle.com, pebolle@tiscali.nl Subject: Re: [Patch V2 1/2] xen: prepare p2m list for memory hotplug Message-ID: <20150320134208.GI27971@olila.local.net-space.pl> References: <1426856139-3359-1-git-send-email-jgross@suse.com> <1426856139-3359-2-git-send-email-jgross@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1426856139-3359-2-git-send-email-jgross@suse.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 20, 2015 at 01:55:38PM +0100, Juergen Gross wrote: > Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear > virtual mapped sparse p2m list") introduced a regression regarding to > memory hotplug for a pv-domain: as the virtual space for the p2m list > is allocated for the to be expected memory size of the domain only, > hotplugged memory above that size will not be usable by the domain. > > Correct this by using a configurable size for the p2m list in case of > memory hotplug enabled (default supported memory size is 512 GB for > 64 bit domains and 4 GB for 32 bit domains). > > Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper Daniel