x86: UV fix uv_flush_send_and_wait
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
@@ -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; }/*
Ingo Molnar
AppliedQuoted 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)Signed-off-by Cliff Wickman <[email protected]>--- arch/x86/kernel/tlb_uv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to tip/x86/urgnet, thanks Cliff!
Ingo
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
Signed-off-by Cliff Wickman <[email protected]>--- 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
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)Signed-off-by Cliff Wickman <[email protected]>--- 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