Hi,
I have an application that needs to check if a linux kernel has booted
with hyperthreading enabled on ia32, in order to do some special tweaks.
I know how you detect that a CPU supports hyperthreading, but how do you
detect that the kernel has booted with hyperthreading activated?
And by hyperthreading activated I mean that the current number of CPUs,
for example 8, are actually 4 physical CPUs and 4 logical CPUs.
Is there a way that I can get at the logical/physical CPU bits, as
reported by the CPUID instruction, of all available CPUs? Or is there
an even better way?
/Björn
-
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/
This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:29 EST