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] bug fix new_tlbflush_clock_period()

To: "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>, "Kouya SHIMURA" <kouya@xxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH] bug fix new_tlbflush_clock_period()
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Mon, 5 Feb 2007 10:02:53 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 04 Feb 2007 18:02:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070205014524.GB10566%yamahata@xxxxxxxxxxxxx>
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: AcdIx2CEOTTxcs1eT4eXXzXYmV0TXQAAWELQ
Thread-topic: [Xen-ia64-devel] [PATCH] bug fix new_tlbflush_clock_period()
Isaku Yamahata write on 2007年2月5日 9:45:
> Hi Kouya.
> Good catch!
> Although this patch already commited and I made the bug,
> vti domain also relies on tlb flush lock.
> (See flush_vtlb_for_context_switch())
> 
> So we should do
>   if (!test_bit(_VCPUF_initialize))
>       continue
>   if (VMX_DOMAIN(v))
>       <flush all hash and collision chain of v>
>   else
>       vcpu_vhpt_flush()
> 
> Or
> 
>   disable the tlb flush clock usage in
> flush_vtlb_for_context_switch(). 
> 

Hi Isaku,

Why do we need to call vcpu_vhpt_flush?

IMO we only need to call __local_flush_tlb_all, if we use per-vcpu VHPT.

Can you elaborate it?

Thanks,
Anthony

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