Hello
I'm trying to get the current CPU number that is executing the code (in driver kernel). In linux we have get_cpu(). What's the analogue in FreeBSD?
My goal is currently execute the same function c in all the CPUs with the "smp_rendezvous()", then print the number of each CPU.
In linux I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.