Messages in this thread | | | Date | Fri, 25 Oct 2002 11:52:39 -0700 | From | "Martin J. Bligh" <> | Subject | Re: How to get number of physical CPU in linux from user space? |
| |
>> ones are paired up, I believe that if all but the last bit >> of the apicid is the same, they're siblings. You might have to >> dig the apicid out of the bootlog if the cpuinfo stuff doesn't >> tell you. > > And you are right. Those apicid, after mask out the siblings, > are put in phys_cpu_id[] array in kernel.
Probably best to just hack /proc/cpuinfo output to include the apicid.
M.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |