Re: Programtically tell diff between HT and real

From: lkml
Date: Wed Jun 16 2004 - 13:09:36 EST


> Is there a way to tell the difference between normal
> processors and HT enabled processors? That is, does
> the linux kernel know the difference and is there a
> way to to know the difference.

Execute the CPUID instruction with EAX=00000001h. I think HT-enabled cpus
should have bit 28 of the value returned in EDX set.

--
7:57PM up 134 days, 5:11, 1 user, load averages: 0.16, 0.18, 0.16

Every non-empty totally disconnected perfect compact metric space is
homeomorphic to the Cantor set.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/