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]A small optimization on flushtlb.

To: "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel][PATCH]A small optimization on flushtlb.
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Sun, 4 Feb 2007 23:54:26 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 04 Feb 2007 07:53:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070202073316.GG12445%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: AcdGnG8uLDuZaj5lScWlBsnuAmJ6JAB2DoBA
Thread-topic: [Xen-ia64-devel][PATCH]A small optimization on flushtlb.
Yes, I misunderstood it.
Please ignore this patch.

- Anthony 

-----Original Message-----
From: Isaku Yamahata [mailto:yamahata@xxxxxxxxxxxxx] 
Sent: 2007年2月2日 15:33
To: Xu, Anthony
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-ia64-devel][PATCH]A small optimization on flushtlb.

On Fri, Feb 02, 2007 at 02:35:14PM +0800, Xu, Anthony wrote:
> A small optimization on flushtlb,
> Replace ia64_cmpxchg with ia64_fetch_and_add.

Hi Anthony.
This patch modifies its semantics.
When tlbflush_clock is 0, it must return 0 without increment.
I.e. "tlbflush_clock == 0" means the overflow is detected and 
new_tlbflush_clock_period() may be flushing concurrently.
So tlbflush_clock must not be incremented until the completion of
new_tlbflush_clock_period()

-- 
yamahata

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

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