From: Daniel Kiper Subject: Re: [Patch V2 1/2] xen: prepare p2m list for memory hotplug Date: Fri, 20 Mar 2015 14:42:08 +0100 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 Return-path: Content-Disposition: inline In-Reply-To: <1426856139-3359-2-git-send-email-jgross@suse.com> Sender: linux-kernel-owner@vger.kernel.org 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 List-Id: xen-devel@lists.xenproject.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