Browse Source

x86: UV fix uv_flush_send_and_wait()

Impact: fix possible tlb mis-flushing on UV

uv_flush_send_and_wait() should return a pointer if the broadcast
remote tlb shootdown requests fail. That causes the conventional IPI
method of shootdown to be used.

Signed-off-by: Cliff Wickman <cpw@sgi.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cliff Wickman 16 years ago
parent
commit
2749ebe320
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/x86/kernel/tlb_uv.c

+ 1 - 1
arch/x86/kernel/tlb_uv.c

@@ -259,7 +259,7 @@ const struct cpumask *uv_flush_send_and_wait(int cpu, int this_blade,
 		 * the cpu's, all of which are still in the mask.
 		 * the cpu's, all of which are still in the mask.
 		 */
 		 */
 		__get_cpu_var(ptcstats).ptc_i++;
 		__get_cpu_var(ptcstats).ptc_i++;
-		return 0;
+		return flush_mask;
 	}
 	}
 
 
 	/*
 	/*