[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.