Date: Tue, 3 Feb 2009 12:57:28 -0500 From: Martin Cracauer <cracauer@cons.org> To: freebsd-smp@freebsd.org Subject: Kernel code: executing once on each CPU? Message-ID: <20090203175728.GA55080@cons.org>
next in thread | raw e-mail | index | archive | help
Is there a facility in FreeBSD that allows me to have a piece of code executed on each processor, then return to the original thread when that has been completed? I need to collect some data that's local to the individual CPUs/cores. In Linux there is/was smp_call_function(func, ...). Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090203175728.GA55080>