Date: Tue, 1 Jan 2008 21:41:44 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 132256 for review Message-ID: <200801012141.m01Lfini024302@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132256 Change 132256 by jb@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801012141.m01Lfini024302>