Re: [ PATCH ] - Avoid slow TLB purges on SGI Altix systems

From: Dean Roe <roe_at_sgi.com>
Date: 2005-10-28 04:44:29
On Thu, Oct 27, 2005 at 11:41:13AM -0700, Luck, Tony wrote:
> >flush_tlb_range() only calls platform_global_tlb_purge() for CONFIG_SMP,
> >so there's no point in having that code in ia64_global_tlb_purge().
> 
> So you have dropped the "mm->context = 0;" for the UP case (and replaced
> it with a series of ia64_ptcl() calls).
> 
> To maintain the old behaivour you need to have:
> 
> #ifndef SMP
> 	if (mm != current->active_mm) {
> 		mm->context = 0;
> 		return;
> 	}
> #endif
> 
> in the start of flush_tlb_range().
> 
> 
> -Tony
> 

Sorry, now I see.  Fixed patch coming soon.

Thanks,
Dean

-- 
Dean Roe
Silicon Graphics, Inc.
roe@sgi.com
(651) 683-5203
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Oct 28 04:45:16 2005

This archive was generated by hypermail 2.1.8 : 2005-10-28 04:45:23 EST