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] fixed an issue about ptc.g

To: "Kouya SHIMURA" <kouya@xxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel][PATCH] fixed an issue about ptc.g
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Tue, 24 Apr 2007 15:01:08 +0800
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 23 Apr 2007 23:59:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200704240513.l3O5DDT7019040@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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: AceGMRWmyT8uvcQcTeCzfT1DyBqEMgADLmuQ
Thread-topic: [Xen-ia64-devel][PATCH] fixed an issue about ptc.g
Hi Kouya,

VHPT is walked by hardware, if we don't insert entry into head of VHPT,
Hardware can't walk VHPT collision chain, and then another tlb miss happens, 
this
Tlb miss is not necessary and impact performance.

While VTLB is walked by software, we don't need to insert the entry into head 
of VTLB.

Anthony

>-----Original Message-----
>From: Kouya SHIMURA [mailto:kouya@xxxxxxxxxxxxxx]
>Sent: 2007年4月24日 13:25
>To: Xu, Anthony
>Cc: xen-ia64-devel
>Subject: Re: [Xen-ia64-devel][PATCH] fixed an issue about ptc.g
>
>Hi Anthony,
>
>I'm wondering why you don't use the same logic in vtlb_insert() as
>vmx_vhpt_insert().
>To enclose it with local_irq_disable/enable is not enough?
>
>Thanks,
>Kouya
>
>Xu, Anthony writes:
> > If one vcpu is execute ptc.g, while the other vcpu is execute itc.
> >
> > the VHPT(VTLB) entry which should be purged may survive unexpected.
> >
> > Then issue happens.

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

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