get_cpu

  1. alemoppo

    Solved emulate get_cpu()

    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...
Back
Top