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] [PATCH] libxl: document memory parameters and behaviour

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] libxl: document memory parameters and behaviour
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Wed, 14 Sep 2011 12:33:41 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 14 Sep 2011 03:38:12 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1315996431; l=668; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=1CWmJCSJAnxDj6bF2L70+VXjyWc=; b=khLCIYLQs3/dGBvQgomvB/uRnFucif9ZP3VFCh3Riv26BmSyrAD4etXn2iVEYyfx0jm 8FmZXA5DihxDyTfZB0jw68H/reDDHqVEF3SbYvCxzyvNNpnbNUpUA9XL1Kdxhmfqdf8Bk oyWB3Pe/M6ogsmzeLdzKaPllMJPppv+V6os=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080.30090.236544.113147@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <20080.30090.236544.113147@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21.rev5535 (2011-07-01)
On Wed, Sep 14, Ian Jackson wrote:

> commit a6b0f1e47447b7da2e838f9f68caf2019b177c36
> Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> Date:   Wed Sep 14 10:34:54 2011 +0100
> 
>     libxl: document memory parameters and behaviour
>     
>     Introduce a new comment in libxl.h, describing the various guest
>     memory usage parameters.

Thanks for documenting this.

How do the three describe values relate to xc_dominfo_t->nr_pages?
The comment there suggests that nr_pages could be even higher at some
point. Is the max number of pages a domain can allocate
(xc_dominfo_t->max_memkb / 1024)?
If so, then xenpaging should not use nr_pages but max_memkb.

Olaf

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

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