From: Keir Fraser Subject: Re: conditional clearing of dom0_l2 in i386's zap_low_mappings() ? Date: Fri, 29 Oct 2010 08:02:21 +0100 Message-ID: References: <4CCA8B03020000780001FE0B@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4CCA8B03020000780001FE0B@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" List-Id: xen-devel@lists.xenproject.org On 29/10/2010 07:51, "Jan Beulich" wrote: >> Oh I see. Well possibly. But you might still need the conditional for the >> other three slots anyway, so it wouldn't be a simplification in that case. > > I'm not after a simplification really. I'm trying to eliminate some > restrictions on initrd size (as well as possible collisions between > the various memory areas used during early boot), and in the > process I need to switch the 1:1 mapping of the first Gb to a > more flexible model (the target is x86-64, but to avoid adding > more conditionals in the Dom0 building code I prefer to do the > same to i386 too). > > I was just asking because I may need to flush out temporary > mappings in Dom0's first L2 that wouldn't match those under > idle_page_table_l2[0] (though right now I think I may get away > without having to). I'd prefer we don't mess around with the i386 boot process really. The build is obsolescent - anyone wanting big initrds should run the 64-bit build of Xen. Who doesn't have a 64b processor these days, really? -- Keir