This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] conditional clearing of dom0_l2 in i386's zap_low_mappin

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] conditional clearing of dom0_l2 in i386's zap_low_mappings() ?
From: Keir Fraser <keir@xxxxxxx>
Date: Thu, 28 Oct 2010 17:06:14 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 28 Oct 2010 09:07:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:cc:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=JQR1c3X/12mMGDdDAHePKHYCuRRt/orOW61S3jBn2qY=; b=XULy2bOzeqmsblhziH6o1W7zcFxS79ipfZK1dQ7AemdmXJb2fohZ8+yTFfMM5InN8K dpDQgvYgbgTPm2re4K7rz1frfrK1L+Erwe2lg7G10+crwOvXsbcHCtIxZMDGpWKq2VSO YpjGpUarUgibtA99HbOXDYAlDgDd+oA4NiAgo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=bG6aGXpObA58Bg5ucUpPqSBbht9W7cxp+KZ6nvcBRrstNMrXO+dS0SbXLi6T3r6cMY y0za5f0L9eCW6pQSvOe9GQeadwAK7x9PnQA4aWNF0BrCz7aVkgY/dFZ9Qz5pkXggcgLu Zigovzcv9nl07A8x4ihnCYDgQ57LqgppBmUnI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CC9B79B020000780001FCB8@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Act2uguNIp8U1GNbjEmhiwE+sK0tMQ==
Thread-topic: [Xen-devel] conditional clearing of dom0_l2 in i386's zap_low_mappings() ?
User-agent: Microsoft-Entourage/
On 28/10/2010 16:49, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

>>>> On 28.10.10 at 17:30, Keir Fraser <keir@xxxxxxx> wrote:
>> On 28/10/2010 15:50, "Jan Beulich" <JBeulich@xxxxxxxxxx> 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

Xen-devel mailing list