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-ia64-devel

Re: [Xen-ia64-devel] PATCH: cleanup of tlbflush

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>, "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>, "Alex Williamson" <alex.williamson@xxxxxx>, "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] PATCH: cleanup of tlbflush
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Wed, 10 May 2006 15:14:25 +0200
Delivery-date: Wed, 10 May 2006 06:10:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <571ACEFD467F7749BC50E0A98C17CDD8094E7BFA@pdsmsx403>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <571ACEFD467F7749BC50E0A98C17CDD8094E7BFA@pdsmsx403>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Mercredi 10 Mai 2006 14:37, Tian, Kevin a écrit :
> From: Tristan Gingold [mailto:Tristan.Gingold@xxxxxxxx]
>
> >Sent: 2006年5月10日 19:57
> >
> >Le Mercredi 10 Mai 2006 13:38, Tian, Kevin a écrit :
> >> From: Tristan Gingold [mailto:Tristan.Gingold@xxxxxxxx]
> >>
> >> >Sent: 2006年5月10日 18:47
> >> >
> >> >> I see your concern about flush efficiency. However we still need set
> >> >> necessary mask bits for correctness, right?
> >> >
> >> >Not yet, because pages are not transfered.
> >>
> >> It's not specific to page flipping. Simple page sharing also has same
> >> problem.
> >
> >No really.  Page sharing is only from domU to dom0.  Thus, if we trust
> >dom0 we
> >don't need to flush all the tlb.
>
> No, even for dom0, the mapped va may be accessed on several vcpus
> and thus you have to flush all related TLBs. On this point, there's no
> need to differentiate dom0 or domU. 
We can trust dom0.  It flushes it correctly with ptc.l or ptc.ga.

>Simple thing is to flush based on
> domain_dirty_cpumask upon unmap request.

Tristan.

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