From: Keir Fraser Subject: Re: Possible regression: XEN 4.0.0 total_memory decrease Date: Mon, 19 Apr 2010 08:51:59 +0100 Message-ID: References: <4BCC23F9020000780003AC6D@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BCC23F9020000780003AC6D@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 19/04/2010 08:35, "Jan Beulich" wrote: >> 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). > > The piece cut off for kexec imo shouldn't be counted as (usable) > system RAM; the piece for the multiboot modules certainly should, > but perhaps it would then be better to account for that explicitly > instead of reporting a possibly much higher value than is actually > available at runtime? I think it's quite open to debate what should be included in total_memory. Certainly I think kexec can be, as why is it different from any other in-use memory in the system in that regard? -- Keir