xen-ppc-devel
[XenPPC] [PATCH] Do not override smp function call wait flag
Do not override the caller's wishes regarding waiting for smp function
call completion. I was being too conservative in this respect: the lock
protects the call_data structure, and the function called is expected to
be threadsafe.
Signed-off-by: Amos Waterland <apw@xxxxxxxxxx>
---
smp.c | 1 -
1 file changed, 1 deletion(-)
diff -r a8e67a19c325 xen/arch/powerpc/smp.c
--- a/xen/arch/powerpc/smp.c Tue Nov 28 10:33:53 2006 -0500
+++ b/xen/arch/powerpc/smp.c Tue Nov 28 16:28:10 2006 -0500
@@ -97,7 +97,6 @@ int on_selected_cpus(
call_data.func = func;
call_data.info = info;
call_data.wait = wait;
- call_data.wait = 1; /* Until we get RCU around call_data. */
atomic_set(&call_data.started, 0);
atomic_set(&call_data.finished, 0);
mb();
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [XenPPC] multicast function invocations, (continued)
- Re: [XenPPC] multicast function invocations, Jimi Xenidis
- [XenPPC] [PATCH] Make IPI handlers run in parallel, Amos Waterland
- [XenPPC] [PATCH] Generalized parallel IPI handlers, Amos Waterland
- Re: [XenPPC] [PATCH] Generalized parallel IPI handlers, Jimi Xenidis
- [XenPPC] [PATCH] Relax IPI stall timeout, Amos Waterland
- [XenPPC] [PATCH] Fix IPI stall timeout, Amos Waterland
- Re: [XenPPC] [PATCH] Fix IPI stall timeout, Jimi Xenidis
- [XenPPC] [PATCH] Fix IPI stall timeout without using timebase_freq, Amos Waterland
- Re: [XenPPC] [xenppc-unstable] [XEN][POWERPC] SMP/IPI/MB combined, Jimi Xenidis
- Re: [XenPPC] [xenppc-unstable] [XEN][POWERPC] SMP/IPI/MB combined, Amos Waterland
- [XenPPC] [PATCH] Do not override smp function call wait flag,
Amos Waterland <=
- Re: [XenPPC] [PATCH] Do not override smp function call wait flag, Jimi Xenidis
|
|
|