From: Keir Fraser Subject: Re: conditional clearing of dom0_l2 in i386's zap_low_mappings() ? Date: Thu, 28 Oct 2010 17:06:14 +0100 Message-ID: References: <4CC9B79B020000780001FCB8@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4CC9B79B020000780001FCB8@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 28/10/2010 16:49, "Jan Beulich" wrote: >>>> On 28.10.10 at 17:30, Keir Fraser wrote: >> On 28/10/2010 15:50, "Jan Beulich" wrote: >> >>> What is the reason for not unconditionally clearing the whole L2 >>> directory here? There shouldn't be anything in the first Gb that >>> wasn't placed there just temporarily by Xen... >> >> You mean the conditional within the for loop that clears dom0 l2 entries? If >> we zapped all of dom0's l2 entries, we'd also be zapping the entries >> legitimately just created by the dom0 builder! > > Oh, I didn't look closely enough. I actually just meant all the > entries in the first of the four L2 tables. 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. -- Keir > Jan >