From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: xen: memory initialization/balloon fixes (#2) Date: Mon, 22 Aug 2011 10:49:25 -0400 Message-ID: <20110822144925.GH8944@dumpdata.com> References: <1313765840-22084-1-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1313765840-22084-1-git-send-email-david.vrabel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: David Vrabel Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, Aug 19, 2011 at 03:57:15PM +0100, David Vrabel wrote: > This set of patches fixes some bugs in the memory initialization under > Xen and in Xen's memory balloon driver. They can make 100s of MB of > additional RAM available (depending on the system/configuration). > Ah, please ignore my previous ping email. Seems that my mail server was a bit stuffed. > Patches 1 & 2 are fixes and should be queued for 3.1 and possibly > queued for the 3.0 stable tree. Excellent. > > Patches 3 & 4 increase the amount of low memory in 32 bit domains > started with < 1 GiB of RAM. Please queue for 3.2 K, let me look at them this week. > > Patch 5 releases all pages in the initial allocation with PFNs that > lie within a 1-1 mapping. This seems correct to me as I think that > once the 1-1 mapping is set the MFN of the original page is lost so > it's no longer accessible by the kernel (and it cannot be used by > another domain as the Xen still thinks its used by the original > domain). > > Changes since #1 > > - Reordered patches to put "xen: use maximum reservation to limit > amount of usable RAM" first. > - Check maximum reservation for domU as well. > - New patch "xen/balloon: account for pages released during memory > setup" > - Added explicit check of size when adding regions in the balloon > driver. > - New patch "xen: release all pages within 1-1 p2m mappings" > > David > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel