WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] memory_reservation bug?: memory holes

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] memory_reservation bug?: memory holes
From: Mick Jordan <Mick.Jordan@xxxxxxx>
Date: Wed, 11 Mar 2009 12:50:33 -0700
Cc: xen-devel-list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 11 Mar 2009 12:50:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C5DDAE97.4D02%keir.fraser@xxxxxxxxxxxxx>
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>
References: <C5DDAE97.4D02%keir.fraser@xxxxxxxxxxxxx>
Reply-to: Mick.Jordan@xxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080807)
On 03/11/09 11:08, Keir Fraser wrote:

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.
A related question. I assume it is ok to have holes in the physical memory, i.e. call decrease_reservation with a range << max_pfn. In this case, what are the rules for the value in the P2M table? Does Xen zero out the slot or is it the guest's responsibility? save/restore must be able to determine that a hole exists.

Mick


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>