Re: Calling a function on other CPUs in an SMP machine
- In reply to: Himanshu Chauhan : "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 17:55:55 UTC
On Mon, Jan 08, 2024 at 08:09:18PM +0530, Himanshu Chauhan wrote: > Hi all, > > 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? > I looked at the different IPIs defined but there isn’t one that does this. Could anyone please point me where else to look? Look at smp_rendezvous() and might be smp_rendezvous_cpus(). It is a powerful convenience wrapper around IPI.