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] RFC: ptc.ga implementation for SMP-g

To: "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] RFC: ptc.ga implementation for SMP-g
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 4 Apr 2006 17:15:19 +0800
Delivery-date: Tue, 04 Apr 2006 02:15:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZXxY+hcGi0zCflSUK3RIn6L0tCwAAABNaw
Thread-topic: [Xen-ia64-devel] RFC: ptc.ga implementation for SMP-g
>From: Tristan Gingold [mailto:Tristan.Gingold@xxxxxxxx]
>Sent: 2006年4月4日 17:00
>As Isaku pointed out, vcpu_translate is run with psr.i = 1.  (I think this is
>true).
>Therefore an IPI doesn't avoid the race.

That's not the necessary case. If current running vcpu is not the target 
one, you can operate the vtlb of target vcpu directly in IPI handler. Or else, 
IPI handler can simply set a flag to target vcpu and then purge the vtlb at 
resuming to guest. 

>
>BTW, I'd prefer to completly avoid IPI for ptc.ga.  From a few tests, IPI
>are
>too slow to implement ptc.ga.
>

I agree, and hope to see your solutions. But just be careful to not 
introduce overhead to other parts when improving ptc.ga emulation.
Another suggestion would be, please consider the hash tlb approach from 
now on, when you make design choices. :-)

Thanks,
Kevin

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

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