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

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2005-10-28 04:41:13
>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
-
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:41:58 2005

This archive was generated by hypermail 2.1.8 : 2005-10-28 04:42:06 EST