From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] increase initial memory reservation for stubdom based HVM domains Date: Thu, 15 Jan 2009 17:34:26 +0000 Message-ID: References: <496F6D8D.9050302@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <496F6D8D.9050302@eu.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: Stefano Stabellini Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 15/01/2009 17:08, "Stefano Stabellini" wrote: > This fix is not as bad as it seems: I am only increasing the memory > freed by the autoballoner when a stubdom based HVM domain is created, in > order to also take into account the memory used by the stubdom. > In facts 32MB is exactly the size currently needed by a stubdom, it can > probably be reduced, but I preferred making one step at a time. > The memory actually used to create the HVM domain is still the same as > before. Doesn't stubdom itself cause the auto-ballooner to be run? Could stubdom add on the extra headroom of the guest its servicing when it requests ballooning? I don't know whether that would be clearer/cleaner than your current patch... -- Keir