From: Keir Fraser Subject: Re: memory_reservation bug? Date: Wed, 11 Mar 2009 18:08:23 +0000 Message-ID: References: <49B7F5A9.9000005@Sun.COM> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49B7F5A9.9000005@Sun.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: "Mick.Jordan@sun.com" , xen-devel-list List-Id: xen-devel@lists.xenproject.org On 11/03/2009 17:32, "Mick Jordan" wrote: > I've looked at the code in memory.c and page_alloc.c and Xen certainly > thinks tot_pages > max_pages for the domain when it reports the error. > > The extent_order on the reservations is 0. > > Any ideas? Just because you called decrease_reservation() doesn't mean the pages necessarily really got freed. If you still have mappings to them squirrelled away then the free can be deferred. -- Keir