From: Chris Wright Subject: Re: access shared_info? Date: Fri, 9 Jun 2006 10:34:32 -0700 Message-ID: <20060609173432.GN18390@moss.sous-sol.org> References: <4486F676.6080301@suse.de> <7c8cd23f1fb1eafe50db8bf82cadad3a@cl.cam.ac.uk> <4486FE71.9090606@suse.de> <63a099e0b962a2154960cebf413487c2@cl.cam.ac.uk> <44870C65.2030603@suse.de> <20060607215500.GI2724@moss.sous-sol.org> <44897B39.6070100@suse.de> <1149861540.11958.199.camel@localhost.localdomain> <448982A7.70804@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Chris Wright , Gerd Hoffmann , Xen devel list , Ian Campbell List-Id: xen-devel@lists.xenproject.org * Keir Fraser (Keir.Fraser@cl.cam.ac.uk) wrote: > If you're looking to unify with your previous e820-faking patch: you > can't. One is created before max_pfn is known (and is used by default > to work out what max_pfn should be). The one you added depends on > knowing max_pfn. I don't think that's an issue. The max_pfn is calculated from the first e820 map, but it's already been truncated by command line. So by the time we get to setting up iomem (and the kernel code and data that Gerd is after), the e820 map has a final E820_RAM mapping that ends at max_pfn. I suspect the end result in /proc/iomem would be the same. thanks, -chris