PERFORCE change 132256 for review
    John Birrell 
    jb at FreeBSD.org
       
    Tue Jan  1 13:41:45 PST 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=132256
Change 132256 by jb at jb_freebsd1 on 2008/01/01 21:40:56
	Use the new rendezvous function to execute the specified function 
	on just the required CPU.
Affected files ...
.. //depot/projects/dtrace/src/sys/cddl/amd64/cyclic_machdep.c#6 edit
Differences ...
==== //depot/projects/dtrace/src/sys/cddl/amd64/cyclic_machdep.c#6 (text+ko) ====
@@ -198,7 +198,8 @@
 	if (c == &solaris_cpu[curcpu])
 		(*func)(param);
 	else
-		printf("%s:%s(%d): Need to have a way to execute the function on another CPU\n",__FUNCTION__,__FILE__,__LINE__);
+		smp_rendezvous_cpus((cpumask_t) (1 << c->cpuid), NULL,
+		    func, NULL, param);
 }
 
 static void suspend(cyb_arg_t arg)
    
    
More information about the p4-projects
mailing list