WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] TLB flushing in x86's map_pages_to_xen()

To: Jan Beulich <jbeulich@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] TLB flushing in x86's map_pages_to_xen()
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 15 May 2007 08:45:52 +0100
Delivery-date: Tue, 15 May 2007 00:42:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46497B78.76E4.0078.0@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceWxQ+7TjO4PAK4Edy09AAWy6hiGQ==
Thread-topic: [Xen-devel] TLB flushing in x86's map_pages_to_xen()
User-agent: Microsoft-Entourage/11.3.3.061214


On 15/5/07 08:20, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

> While I realize that the local-flush-only approach attempts to minimize
> overhead,
> I have some difficulty understanding how this can properly deal with the
> effects
> of speculation on remote processors. I believe this will get even worse when
> considering cacheability changes, in which case it is not only an immediate
> TLB
> flush that is needed, but also an immediate cache flush.

Map_pages_to_xen() is only used at start-of-day, except for memory-guarding
where TLB flushing isn't actually required for correctness. If it were used
during normal Xen execution for more sophisticated purposes then yes, more
consideration would need to be given for flushing processor state.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>