On Tuesday 12 September 2006 18:14, Jakko Pastuchio wrote: > Hi all, > > How can I find out (from within a loadable module) how many CPUs are there > in the system ? > > Can I know on which CPU I (the current module) am running ? get_cpu(). > Can I choose a CPU to run on ? I think you should look for "CPU affinity" to begin with it. > thanks...! > Jakko > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ -- Bora SAHIN -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/