Skip to contentSkip to conversation

x86: UV fix uv_flush_send_and_wait

PATCH Applied Cliff Wickman 3 participants 4 messages Jan 29, 2009 – Jan 30, 2009 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: UV fix uv_flush_send_and_wait

From: Cliff Wickman <[email protected]>

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.

Diffed against 2.6.29-rc2
(Ingo's tree)

---
 arch/x86/kernel/tlb_uv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/tlb_uv.c +1 -1
Index: linux/arch/x86/kernel/tlb_uv.c
===================================================================
@@ -259,7 +259,7 @@ const struct cpumask *uv_flush_send_and_
 		 * the cpu's, all of which are still in the mask.
 		 */
 		__get_cpu_var(ptcstats).ptc_i++;
-		return 0;
+		return flush_mask;
 	}
 
 	/*
Applied
#1 lore raw
Quoted 6 lines · Cliff Wickman

From: Cliff Wickman <[email protected]>

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.

Quoted 7 lines

Diffed against 2.6.29-rc2
(Ingo's tree)

---
 arch/x86/kernel/tlb_uv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to tip/x86/urgnet, thanks Cliff!

Ingo

#2 lore raw
Quoted 11 lines · Ingo Molnar
Quoted 9 lines · Cliff Wickman

From: Cliff Wickman <[email protected]>

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.

Diffed against 2.6.29-rc2
(Ingo's tree)

Quoted 6 lines
Quoted 4 lines
---
 arch/x86/kernel/tlb_uv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to tip/x86/urgnet, thanks Cliff!

Ingo, this patch shouldn't go into x86/urgent. This patch is to fix a bug introduced by a patch in the percpu branch and not applicable to x86/urgent.

Thanks.

Signature · 1 line
tejun
#3 lore raw
Quoted 17 lines · Tejun Heo
Quoted 16 lines · Ingo Molnar
Quoted 13 lines · Cliff Wickman

From: Cliff Wickman <[email protected]>

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.

Diffed against 2.6.29-rc2
(Ingo's tree)

---
 arch/x86/kernel/tlb_uv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 5 lines
Quoted 1 line

Applied to tip/x86/urgnet, thanks Cliff!

Ingo, this patch shouldn't go into x86/urgent. This patch is to fix a bug introduced by a patch in the percpu branch and not applicable to x86/urgent.

ah, indeed, the UV cleanup you did. Please pick up this fix then too into your tree - the two should go together. I dropped it from x86/urgent.

Ingo