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] Possible regression: XEN 4.0.0 total_memory decrease

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] Possible regression: XEN 4.0.0 total_memory decrease
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 16 Apr 2010 18:37:36 +0100
Cc: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>, Alex Williams <awilliams@xxxxxxxx>
Delivery-date: Sun, 18 Apr 2010 07:55:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BC83396020000780003A934@xxxxxxxxxxxxxxxxxx>
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: AcrdOcxKFoKCSQw+RaqKG9ixSh0TBQAUbQ/W
Thread-topic: [Xen-devel] Possible regression: XEN 4.0.0 total_memory decrease
User-agent: Microsoft-Entourage/12.24.0.100205
On 16/04/2010 08:53, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

>>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 15.04.10 20:23 >>>
>> I've fixed this regression as xen-unstable:21190 and xen-4.0-testing:21114.
>> The fix will appear in Xen 4.0.1.
> 
> That seems wrong to me - I specifically changed the accounting so
> that pieces not used from the E820 map (which can no longer be cut
> off in e820.c, as that code doesn't know *where* to cut off) won't
> get reported as available memory. The real question is where (for
> the non-cut-off case) the two calculations differ.

boot_e820 has chunks cut out of it for stashing kexec stuff, as well as all
the multiboot modules. The value thereby obtained is just confusing to users
who think we've binned possibly 100s of megabytes (if they run a big
initrd).

 -- Keir



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