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] Uses of &frame_table[xfn]

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: Re: [Xen-devel] Uses of &frame_table[xfn]
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 23 Dec 2005 11:47:12 +0000
Cc: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 23 Dec 2005 11:44:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD5902B8E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <516F50407E01324991DD6D07B0531AD5902B8E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 22 Dec 2005, at 23:29, Magenheimer, Dan (HP Labs Fort Collins) wrote:

The balloon driver in xenlinux was also fixed, but I think
this is a syntactic but not a semantic fix.  In balloon_init,
an assumption is made that all pages below xen_start_info->nr_pages
are valid RAM.  What if all pages of valid RAM are above
nr_pages?  Then (I think) the balloon driver will eat up
all the domain's RAM.  (Unlikely, but you get the drift.)

The assumption is that you are initially allocated contiguous RAM from pseudophys page frame 0 up to pseudophys page frame nr_pages-1.

A further assumption is that, if the max_pfn is larger than nr_pages, the physical space between nr_pages and max_pfn is not (yet) populated with RAM. Thus those pages properly belong to the balloon driver.

Are these assumptions not workable on ia64?

 -- Keir


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

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