This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] memory_reservation bug?

To: "Mick.Jordan@xxxxxxx" <Mick.Jordan@xxxxxxx>, xen-devel-list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] memory_reservation bug?
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 11 Mar 2009 18:08:23 +0000
Delivery-date: Wed, 11 Mar 2009 11:08:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49B7F5A9.9000005@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acmib2Ya7rPaGl2XQmCkZO8VsBXvsAABPetj
Thread-topic: [Xen-devel] memory_reservation bug?
User-agent: Microsoft-Entourage/
On 11/03/2009 17:32, "Mick Jordan" <Mick.Jordan@xxxxxxx> 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

Xen-devel mailing list