From: Keir Fraser Subject: Re: Re: [PATCH] Disable auto-balloon on ia64 Date: Mon, 22 May 2006 10:50:31 +0100 Message-ID: <597d532d97acfbce45502cfe611a905b@cl.cam.ac.uk> References: <571ACEFD467F7749BC50E0A98C17CDD8094E7C7F@pdsmsx403> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Charles Coffing , "Tian, Kevin" , xen-devel , Alex Williamson , xen-ia64-devel List-Id: xen-devel@lists.xenproject.org On 22 May 2006, at 10:37, Keir Fraser wrote: >> We just need to reverse the whole change for ia64, since both domU >> and domVTI are insert a hole by this auto-balloon patch. Due to >> missing balloon support on xen/ia64 as you said, both domU and domVTI >> failed due to this change. > > The first patch that you work around seems okay to me. That is, it > seems correct that we make initial reservation exclude > 'getDomainMemory headroom'. Shouldn't ia64 reserve extra memory as it > needs it, as x86 does, rather than up front? > > The second bit of your workaround, which applies to getDomainMemory: > I'll wait and see if Charles has anything to say, but otherwise I'll > remove the code that adds the extra slack entirely. Thinking about it, that slack might have been added to give enough space for shadow page tables for live migration. Also, it shouldn't give you any problems if you weren't allocating headroom up front -- if you can fix ia64 to allocate the extra memory as needed then you shouldn't need either of your workarounds? -- Keir