From: Keir Fraser Subject: Re: Why reserve maxmem on restore on ia64? Date: Thu, 14 Oct 2010 14:01:16 +0100 Message-ID: References: <288305425.462341287058900657.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <288305425.462341287058900657.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.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: Miroslav Rezanina , xen-devel List-Id: xen-devel@lists.xenproject.org Because noone has bothered to merge with the x86 restore code, or otherwise implement the more sensible allocation strategy. -- Keir On 14/10/2010 13:21, "Miroslav Rezanina" wrote: > Hi, > while checking the code I found out that when we restore guest on ia64 > machine, we reserve up to maxmem pages and than free unused pages. As I'm not > familiar with ia64 platform, I'd like to ask what's the reason for such a > behavior? This prevent restoring guest on machine where is not enough memory > available to alocate maxmem but there's enough memory for alocating memory. > > Thanks for answer, > Mirek