Re: Calling a function on other CPUs in an SMP machine
- Reply: Himanshu Chauhan : "Re: Calling a function on other CPUs in an SMP machine"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Jan 2024 15:21:26 UTC
On Mon, Jan 8, 2024 at 3:49 PM Himanshu Chauhan <himanshu@thechauhan.dev> wrote: > What is the best way to call a function (like a per-cpu setup function from a driver) on remote CPUs in an SMP machine? > > The 'smp_rendezvous{_cpu}' functions in 'sys/smp.h' are what you are looking for. They are not listed in the manpages, but you can find more information about them in 'kern/subr_smp.c'. Bojan