From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Possible regression: XEN 4.0.0 total_memory decrease Date: Fri, 16 Apr 2010 18:37:36 +0100 Message-ID: References: <4BC83396020000780003A934@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BC83396020000780003A934@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: "Xen-devel@lists.xensource.com" , Alex Williams List-Id: xen-devel@lists.xenproject.org On 16/04/2010 08:53, "Jan Beulich" wrote: >>>> Keir Fraser 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