Finding physical and logical core number in a kernel module ?

Alexandre Courbot gnurou at gmail.com
Tue Sep 6 02:43:53 EDT 2011


Hi,

> Are there kernel functions that would return the number of the physical core
> and
> logical core (in case of Hyperthreading) on which a kernel module is running
> ?

Once loaded, a module becomes a part of the kernel, and is therefore
not restricted to specific cores. What are you trying to achieve?

Alex.



More information about the Kernelnewbies mailing list